cache-master icon indicating copy to clipboard operation
cache-master copied to clipboard

我有点疑问,关于缓存占用大小

Open mpenglong opened this issue 3 years ago • 6 comments

如图,我这占用了700MB了,我使用的是宝塔面板,默认就是64M,会有影响吗?

image

mpenglong avatar Sep 30 '22 01:09 mpenglong

Hi.... What's "宝塔面板" ?? As you can see, the posts is about 2445 items, with overall size as 225.96MB, which means each item only uses 0.09MB. That's quite small. By the way, what kind of cache driver you are using?

yannicklin avatar Oct 06 '22 23:10 yannicklin

Sorry, the plugin was translated into Chinese, so the message was wrong.

  1. The caching system I use is Memcached, my server panel installed Memcached plugin default is 64M, I see that the background statistics cache is basically more than 200M, do I need to adjust the default capacity of Memcached?

  2. multiple wordpress systems, if they all use Memcached, how to distinguish the cache?

mpenglong avatar Oct 08 '22 01:10 mpenglong

I use this plugin on three sites, two using Memcached and one using sqlite.

After using the plugin, I found that the search function of the site will not work, the three sites are not the same theme, you can rule out the theme problem, please ask others are the same situation?

mpenglong avatar Oct 08 '22 02:10 mpenglong

I use this plugin on three sites, two using Memcached and one using sqlite.

After using the plugin, I found that the search function of the site will not work, the three sites are not the same theme, you can rule out the theme problem, please ask others are the same situation?

mpenglong avatar Oct 08 '22 02:10 mpenglong

  1. "my server panel installed Memcached plugin default is 64M, I see that the background statistics cache is basically more than 200M" -> This is quite interesting... I wonder about the actual memcached server running. Maybe some of these data have been allocated to swap space. image

  2. Multiple wordpress systems... It seems for current version there is no "multisites" support yet. https://wordpress.org/support/topic/wp-multisite-same-cache-for-all/

yannicklin avatar Oct 09 '22 22:10 yannicklin

The normal case can be used //define('WP_CACHE_KEY_SALT', 'XXXXXX'); To do cache differentiation for multiple sites, is this plugin also supported?

mpenglong avatar Oct 10 '22 01:10 mpenglong