Active Subscription: Free Plan
Page Rule:
Maching URL: https://example.com/*
Cache Level: Cache Everything
Edge Cache TTL: 14 days
Browser Cache TTL: a year
I am using two methods to send a GET request to my URLs:
Google Chrome desktop browser
PHP Guzzle HTTP client
HTML response is returned in both cases.
But, HTML response is cached on Cloudflare if I use a desktop browser like Google Chrome and is not cached, when I use Guzzle HTTP Client.
Any clues or ideas on this problem?
Can you capture and share a request with debug = true
. Redact your domain name in the response if you need to.
1 Like
That seems to show a cached response being delivered. Are you seeing something else?
1 Like
pmpr.ir
February 9, 2021, 10:08am
5
Thank you.
The page itself is cached successfully, but the resources like CSS and JS files are not. Thus page load time is too long
michael
February 9, 2021, 10:25am
6
Can you rerun the test on one of the uncached files? Are they served through a hostname which is patched by your page rule? Do they have a CF-Cache-Status response header?
1 Like
pmpr.ir
February 10, 2021, 9:53am
7
Yes they have:
CF-Cache-Status: 1
too.
Would you please check this more detaild explanation of the problem to this point:
Multiple HTML‌ versions are cached for same URL but different user agents
system
Closed
February 15, 2021, 9:53am
8
This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.