• Hi,
    I have read all FAQs and been thru every option and reviewed the support forum. I can’t figure out how to use WP Cloudflare Super Page Cache plug-in to cache a Logged-in user page. I have several that are static so I want to take advantage of the caching offered by this excellent plug-in. There are a few pages that are dynamic. How to do instruct the plug-in and cloudflare to cache? I know the “?swcfpc=1” parameter signals NOT to cache but how do I control which pages get that when a user is logged-in? thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor iSaumya

    (@isaumya)

    Hi,
    The plugin will never cache pages for logged-in user sessions. This is very important to ensure that things work properly for loggedin user. You see when a user logs in things must need to be generated dynamically as based on a slight changes loggedin user might see different things.

    For example some logged in users might want to see the black admin bar at the top others might not etc. The loggedin user’s name might also show up somewhere. So, basically there are many dynamic instances that can happen also there is a logged in cookie to making sure the user stays logged in. This is why it is very important that when a user is logged in the pages must be dynamically generated by PHP and provided by the origin server.

    The plugin is caching for logged in users… There are dynamic elements on my website but they are being cached as static elements on the homepage… Logged in users are seeing the same contents that logged out users see

    This shouldn’t be so

    Mat

    (@mateithemeisle)

    Hello @sirbenky ,

    Thank you for your reply and apologies for the delayed response!

    I am having troubles understanding the issue at hand so would you please clarify the situation? In the first post, you stated that you desire to cache pages for logged-in users which is not desirable/possible as @isaumya announced in his response.

    In your latest post, you stated that now pages are being cached for logged-in users which should not be the case indeed although I don’t know how you achieved such a behavior.

    By default, the plugin will not cache any pages containing dynamic content thus, unless you made some changes in the plugin, I am interested in seeing why that might happen on your end.

    That being said, would you mind sharing the website URL and some pages with dynamic content so we can check the behavior too? In case we’ll encounter any misbehavior, we’ll make sure to rectify it in the upcoming versions of the plugin.

    Also, can you please share your plugin settings so we can make sure that the correct ones are used for this specific situation?

    Thank you for understanding and we’ll await your response!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘caching Logged-in static pages’ is closed to new replies.