• Resolved bsmolyanov

    (@bsmolyanov)


    The content of our websites is partially hidden for visitors and more content is displayed for logged-in users, again not in full but based on their WordPress roles/per user profile. Would it possible to take benefit of your HTML caching solution in such cases?

    My concern is if logged-in user start seeing cached content, instead of dynamically generated one, or visitors being server with content designated for logged-in users.

    We have Standard Level Cloudflare caching with no Cache Rules in place and so far it works well.

Viewing 1 replies (of 1 total)
  • Plugin Author digitalpoint

    (@digitalpoint)

    It would be a bad idea to cache pages for logged in users for the reasons you mentioned. The page is going to have content unique to the user (even if it’s something as small as showing them their own username). Caching that would end up presenting other users (or non-logged in users) with a page that looks like someone else is logged in.

    That being said, the plugin does have the ability to cache pages/HTML (not just images and static content) tor guests (non-logged in users). Unless you have a very unique site that internally works differently than other sites, that’s as much page caching as you would want to do, otherwise you end up with the problem of showing pages not intended to be seen by the user.

    Guest page caching will make page views extremely fast for non-logged in users at least.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.