Expired & Bypass status on Cloudflare
-
I’ve installed the Super Page Cache plugin on my website, which is on the Cloudflare Pro Plan. Here’s a brief overview of my configuration:
? Cloudflare Cache-Control max-age: 31536000 ? Browser Cache-Control max-age: 60 ? Purge cache for related pages only: Enabled ? Don’t cache dynamic content (recommended settings): Enabled ? Strip response cookies on cacheable pages: Enabled ? Enable preloader: Enabled ? Auto prefetch URLs in viewport: Enabled
I’m currently facing two issues:
- Caching Issue:
Despite having Cloudflare caching set up, I’m seeing a high number of requests hitting the origin server, when it should be serving cached content to users. Even when content is cached, it only remains cached for about an hour. After that, when I revisit the same URL, the cache shows as “EXPIRED.” - Facebook Query String Issue:
Whenever we post links on Facebook, the added ?fbclid query string causes the cache to be bypassed, leading to a high number of requests being redirected to the origin server.
I have two page rules set up in Cloudflare:
1. A rule from the Super Page Cache plugin. 2. A custom rule I created to remove the Facebook query string:
https://domain.com/kurdish/?fbclid=
Forwarding URL 302 to https://domain.com/kurdish/?1Our website is a news site with a high volume of daily visitors. At times, the server’s CPU load spikes to 95% because Cloudflare is redirecting all requests to the origin, causing the server to become unresponsive and the website to go down.
- Caching Issue:
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.