Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mpenglong opened this issue Sep 30, 2022 · 6 comments
Open

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

mpenglong opened this issue Sep 30, 2022 · 6 comments

Comments

@mpenglong
Copy link

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

image

@yannicklin
Copy link

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?

@mpenglong
Copy link
Author

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
Copy link
Author

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?

1 similar comment
@mpenglong
Copy link
Author

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?

@yannicklin
Copy link

  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/

@mpenglong
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants