• Resolved bobsled

    (@bobsled)


    I’ve replaced the old Page rule and 4 cache rules with the new single cache rule for the Cache Buster on two sites now, and it works perfectly.

    But just one tip. Make sure that your hostname in the first variable has no trailing slash.

    I fell for this with my first site, and then a few weeks later, forgot about the trap when I updated my second site.

    If you copy and paste your domain name, it’s an easy trap to fall into. Yes, I removed the https://, but both times forgot to remove the trailing slash. In this case, you will see DYNAMIC instead of HIT in your cf-cache-status.

    The instructions are excellent and very clear: https://gist.github.com/isaumya/af10e4855ac83156cc210b7148135fa2

    But perhaps @isaumya might consider a quick edit or addition to this part of the insrtuctions to include the necessity to delete the trailing slash.

    Make sure you replace example.com with your actual website hostname e.g. something.com or https://www.something.com etc. in the code given below before copy/pasting it

    Hopefully, this small tip might help users of the plugin.

    • This topic was modified 4 months ago by bobsled.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.