Support » Plugin: Super Page Cache for Cloudflare » how to set up plugin for draft mode of Post or Page

  • Resolved kpbryce132

    (@kpbryce132)


    To whom it may concern,

    I use CF free plan on my website on a shared hosting plan. Speed is excellent –

    However, I notice I must purge ALL CF CACHE before I edit and change anything on my website.

    I use the “Cache Everything” rule on CF. On plugin side I tried creating exceptions to the caching but this was not successful.

    Do I need to modify the cache rules I have in place or is there an exception I can create for the Post and Pages I create or modify.

    Thank you for your prompt reply!

    • This topic was modified 8 months, 2 weeks ago by kpbryce132.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 31 total)
  • Plugin Contributor Saumya Majumder

    (@isaumya)

    Hi,
    Have you set up caching in your site using this plugin or you have tinkered with the page rule by yourself? I tried to access your site to see further but it seems you have blocked access to your site. (Screenshot: https://i.imgur.com/vkYCSVC.jpeg) So, without investigating further it is almost impossible to comment on anything.

    Can you please disable this firewall rule so that I can access your website and check what might be going on?

    Cause if you have set up this plugin then you wouldn’t face any of such issues. You can also watch this YouTube video where the plugin usage has been shown:

    • This reply was modified 8 months, 2 weeks ago by Saumya Majumder. Reason: added screenshot
    Thread Starter kpbryce132

    (@kpbryce132)

    Hi,

    Thanks for your quick reply to my inquiry.

    Yes, the plugin is active and configured. I have no other cache plugins in use.

    Again, I am using free CF account which provides 3 free Rules. All Rules are being used currently. I have not added one for the plugin. I have “Cache Everything” enabled.

    My problem is I cannot create an exception for draft or edits to either Posts or Pages on my website. I must clear all cache first then it will be able to be saved to the active cache.

    This becomes laborious and I am seeking a way to get around this issue.

    I have several Firewall blocks on countries for this website. In order to help you access the site I would need to know which country you reside in.

    Thanks for your prompt reply!

    Plugin Contributor Saumya Majumder

    (@isaumya)

    Hi,
    First of all, can you first share a screenshot of the page rule section of your Cloudflare account? Secondly, remove the temporary firewall block for India.

    Thread Starter kpbryce132

    (@kpbryce132)

    Hi,

    I have removed the firewall block on Cloudflare for India.

    Here is a direct link to screenshot of CF settings per your request.

    https://www.designwerks.net/CF_settings_Screen_Shot.jpg

    Note: I have static and dynamic content on my website.

    Thank you for your help!

    • This reply was modified 8 months, 2 weeks ago by kpbryce132.
    Plugin Contributor Saumya Majumder

    (@isaumya)

    Hi,
    sorry for the delayed reply due to the weekends.
    First of all, it seems all the 3 page rules that you have are custom page rules you added instead of the plugin adding the page rule by itself.

    Also you don’t need the Page Rule no 1. And also remove the page rule no 3 as it seems in that page rule you have added extra options. Before removing the page rules inside the plugin settings > Click on Disable Page Cache.

    Then remove page rule no 1 and 3. Then inside the plugin enable page caching again. Then you will see that it will add a page rule automatically in your CF account. DO NOT tinker with that page rule.

    Finally when it comes to page rule no 2 – you can simply enable HSTS inside your Cloudflare dashboard under the SSL section. That would be better than this.

    Now looking at the response headers of your webpage – it seems Cloudflare CDN caching is working perfectly on your website. Here are a few screenshots:
    https://i.imgur.com/d07n1SB.jpeg
    https://i.imgur.com/JJb4XGX.jpeg
    https://i.imgur.com/K9qDNI6.jpeg

    Thread Starter kpbryce132

    (@kpbryce132)

    Hi,

    Thank you for your efforts.

    I will review your instructions and get back with you with results!

    Thread Starter kpbryce132

    (@kpbryce132)

    Hi Again,

    Do you recommend enabling the Autoptimize plugin with the Super Cache CF plugin?

    If so is there a setup available on this?

    Many thanks!

    Plugin Contributor Saumya Majumder

    (@isaumya)

    Do you recommend enabling the Autoptimize plugin with the Super Cache CF plugin?

    You definitely can. Under the third party tab of the plugin settings page you will see Autoptimize specific settings.

    Thread Starter kpbryce132

    (@kpbryce132)

    Thank you very much!

    Thread Starter kpbryce132

    (@kpbryce132)

    Hi,

    I tried your recommendations on a test website –

    https://www.kevinbryce.com

    Here is the error panel I rceived when I attempted to test the new cache configuration:

    https://www.kevinbryce.com/screenshot_kb.jpg

    Strange behavior!

    Plugin Contributor Saumya Majumder

    (@isaumya)

    I can’t access the screenshot or the site – country block.

    Thread Starter kpbryce132

    (@kpbryce132)

    Sorry, I have removed the country block.

    Plugin Contributor Saumya Majumder

    (@isaumya)

    Hi,
    I am still getting access denied: https://i.imgur.com/nLdlbQR.jpeg

    Thread Starter kpbryce132

    (@kpbryce132)

    I ha ve removed the block for the website and the link to error message!

    Plugin Contributor Saumya Majumder

    (@isaumya)

    Can you send me a screenshot of the pagerule section of the website kevinbryce.com ?
    Cause from what I see in the response header – the plugin is working properly so the cache should work unless there is some problem with the page rules. Screenshot: https://i.imgur.com/SSUPSQL.jpeg

    So, please share a screenshot of the page rule section.

Viewing 15 replies - 1 through 15 (of 31 total)
  • The topic ‘how to set up plugin for draft mode of Post or Page’ is closed to new replies.