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

  • Resolved justin-bigscoots

    (@justin-bigscoots)


    Hello,

    We have an issue where ?swcfpc=1 is being added to internal links on posts so non logged in users are hitting non cached pages.

    Even when both options are disabled:

    Bypass the cache for logged-in users – (recommended)
    Bypass the cache for AJAX requests – (recommended)

    The query string is still added after clearing all caches, is there a way to completely disable that query string unless accessed manually?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Salvatore Fresta

    (@salvatorefresta)

    Hello,
    no. This parameter is used to distinguish users logged in from those not logged in. If it were not there, Cloudflare would cache the page and make it visible to everyone regardless of who is logged in or not. It is thanks to that parameter that you can use the free plan.

    Sorry if I’m mistaken, but ?swcfpc=1 is not there for providing admins with the non-cached pages?

    Is there a way to bypass the cache for logged-in users, but not for admins? Running an mambership site and users should see adverts when logged in. Currently they do not as the plugIn kills them straight away (AdRotate adverts).

    Despite disabling the plugin, this query string is still being appended to my URL.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘?swcfpc=1 query string being added to internal links’ is closed to new replies.