OK so I read through a lot of the conversations here on your support board and came across this:
add_filter('gc_cache_user_content', function(){return true;});
I followed the instructions but ran into an issue (that I fully understand) which may or may not have a solution. I’m referring to content that is only visible to members of a specific level. Each level has a corresponding custom user-role assigned to them as they upgrade/downgrade.
The solution would most likely require a lot of work but if you could accomplish it, you would be taking your plugin to a whole new level.
So for membership sites, you would need to have a directory system setup per user-role under each sites folder. In my case it might look like this:
ssl@MyMembershipSite.com
guests
content tree
user-role1
content tree
user-role2
content tree
user-role3
content tree
etc…
Unless there’s a better solution and I’m just missing it?
An update like that would see a significant donation π
The problem I ran into was the cache was showing the logged in users custom menu items and pages to visitors/guests.
You shouldn’t cache pages for logged in users unless they’re content is not a part of the static page, ie it would have to be delivered via ajax. This is why it’s only included as a hook since it would be a really custom setup.
With the next release there will be an object cache which will help with sites that are user-based and cannot really use a page cache.