• Previously, when the plugin name was different, I noticed the parameter /?swcfpc=1 appended to URLs while logged in, but this is no longer happening. This change has led to two significant issues:

    1. Stale Content for Logged-In Users: I’m being served pages cached for logged-out users, which excludes the admin bar and may lead to outdated content.
    2. Cached Pages with Admin Bar for Logged-Out Users: Pages visited by logged-in users are being cached with the admin bar and served to logged-out users, causing a major content display issue.

    Could you help identify why this behavior has changed and suggest solutions to fix these caching problems?

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

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

    (@gauravtiwari)

    And yes, SEO redirect for logged-out users is disabled.

    Removing the Cache Everything rule in Cloudflare resolved this issue for me.

    Cache Everything
    (http.host contains “mydomain.com”) <= delete this rule

    This is now my only Cache Rule:

    [DO NOT EDIT] WP Super Page Cache Plugin rules for https://www.mydomain.com
    (http.host wildcard “www.mydomain.com*” and not http.cookie contains “wordpress_logged_in_” and not http.cookie contains “wp-” and not http.cookie contains “comment_” and not http.cookie contains “woocommerce_” and not http.cookie contains “wordpressuser_” and not http.cookie contains “wordpresspass_” and not http.cookie contains “wordpress_sec_” and not http.request.uri contains “ao_noptirocket” and not http.request.uri contains “jetpack=comms” and not http.request.uri contains “kinsta-monitor” and not http.request.uri contains “ao_speedup_cachebuster” and not http.request.uri contains “removed_item” and not http.request.uri contains “/my-account” and not http.request.uri contains “/wc-api” and not http.request.uri contains “/edd-api” and not http.request.uri contains “/wp-json” and not http.request.uri contains “/wp-admin” and not http.request.uri contains “/wp-login” and not http.request.uri.path contains “.xml” and not http.request.uri.path contains “.xsl” and not http.request.uri.path contains “robots.txt”)

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