Support » Plugin: Super Page Cache for Cloudflare » ?swcfpc=1 inserted in all internal links

  • Resolved erickgarciiaa

    (@erickgarciiaa)


    Hi, is the plugin supposed to work with WooCommerce? I saw it mentions WC in the plugin's page but when a client is logged-in all internal links shows with ?swcfpc=1. So it might cause confusion, also not friendly, and idk if it can hurt SEO. I've seen in other threads you guys mention about Visual Page Builders being the culprit. I use Divi Page Builder, but at the My Account page I don't have it activated, I'm using the default WordPress editor and it still when a client logs in, all My account internal links has this query string. If I don't have the Visual Builder enabled on that page, why would it do that?

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter erickgarciiaa

    (@erickgarciiaa)

    I even disabled Divi theme entirely, activated Twenty Twenty-One WordPress theme and the internal links still has ?swcfpc=1 when you’re logged in as customer.

    Plugin Contributor Saumya Majumder

    (@isaumya)

    Hi,
    The ?swcfpc=1 is the cache buster query string which has nothing to do with page builders. When you use the plugin with the default settings which uses Cloudflare Page Rule for caching, the cache buster is needed for bypassing cache for logged-in users.

    This does not have any major negative side effects for SEO as it is only supposed to be shown for logged-in users. Alternatively, you can also enable the redirect option inside the plugin settings under the Others tab so that if for some reason a non-logged-in user clicks on the link which has this query string attached to it it will automatically redirect the users to the URL which does not have the query string. Screenshot: https://i.imgur.com/egmohGE.jpeg

    Now, if you want to get rid of the query string entirely, then you have to enable the Worker Mode (under cache tab) inside the plugin settings: https://i.imgur.com/bvIeWsI.jpeg

    The worker mode does not use the query string cache buster and is generally recommended for an eCommerce website. But do note that with Cloudflare worker you will get 100,000 requests per day for free after which it is chargeable. Link: https://workers.cloudflare.com/#plans

    On the other hand Cloudflare Page Rules are 100% free.

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