Support » Plugin: Super Page Cache for Cloudflare » ?swcfpc=1 query string being added to links and url

  • JDBakes

    (@jdbakes)


    I saw where this topic was posted before and marked resolved, but it was not resolved.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Kush

    (@kushnamdev)

    Hey @jdbakes,

    That is called cache buster which is added at the end of the URL Only for Logged-in users to bust the cache when using the default page rule mode.

    Alternatively, if you want to get rid of the cache buster complete, then you have to use the worker mode. Inside the plugin settings under the cache tab, enable the worker mode. Worker mode does not require a cache buster so you won’t see ?swcfpc=1 getting added by the plugin automatically at the end of the URL for logged-in users.

    Help this helps.

    Screenshot: https://i.imgur.com/u2VGmDV.jpeg

    Plugin Contributor Saumya Majumder

    (@isaumya)

    Hi @jdbakes,
    As @kushnamdev have pointed out, that’s a cache buster. But if you are using the latest version of the plugin then you do not need to use the worker mode to get rid of it. Instead if you are comfortable creating some Cloudflare rules, inside the plugin settings go to the Other tab and scroll down.

    You will see a new option to remove the cache buster query parameter along with an Implementation Guide. Check the implementation guide, add the rules mentioned there and then once all these rules are added to your CF dashboard, come back to the plugin settings, enable that option and purge everything from the Cloudflare cache.

    That’s it. No more cache buster.

    Hope this helps 🙂

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