• I have a client site which uses this plugin for it’s cache, it’s pro enabled and the site needs to be as static as possible, but still allow comments.

    The issue here is if you pick the option to allow cache for logged in users but maintain a separate cache, the very instant a user comments on anything they will start building their own cache, and not use any of the already built cache, the option is merely useless. Why would you make a user build a completely new cache on ALL posts instead of just purging the one post they commented on and let them keep using the already built cache for the other posts until they make a comment on them?

    Secondary, if i pick the option to cache everything for everyone, the admin interface will be shown to regular users if the admin was the one visiting a page when generating the cache, that is also terrible.

    I’m looking for a way to either exclude the admin from cache but maintain cache for everyone else and not serve a separate cache if they comment or a way to serve a separate cache for the posts users posts on and still use the regular built cache for the stuff they have not posted on.

    If anyone know if this is possible with zencache pro at it’s current stage please let me know, thank you.

    https://www.ads-software.com/plugins/zencache/

Viewing 1 replies (of 1 total)
  • Plugin Author Raam Dev

    (@raamdev)

    The issue here is if you pick the option to allow cache for logged in users but maintain a separate cache, the very instant a user comments on anything they will start building their own cache, and not use any of the already built cache, the option is merely useless. Why would you make a user build a completely new cache on ALL posts instead of just purging the one post they commented on and let them keep using the already built cache for the other posts until they make a comment on them?

    If you choose the option to “maintain a separate cache for each user”, then of course ZenCache is going to maintain a separate cache for each user and not use the existing cache. If you don’t want to maintain a separate cache for each user, then simply choose the option that says “don’t maintain a separate cache for each user”.

    Secondary, if i pick the option to cache everything for everyone, the admin interface will be shown to regular users if the admin was the one visiting a page when generating the cache, that is also terrible.

    By “admin interface” I assume you’re referring to the Admin Toolbar at the top? If so, that’s a bug. I just tested that, confirmed it’s a bug, and opened a bug report here: https://github.com/websharks/zencache/issues/497 We’ll get this fixed in an upcoming release. Thanks for reporting that! ??

Viewing 1 replies (of 1 total)
  • The topic ‘Zencache Pro, real static cache, how?’ is closed to new replies.