we have a standard business account.
In our DNS we map abc as alias, dba as alias so that we have
abc.ourdomain.com
dba.ourdomain.com
we have added some page rules to cache some assets
*.ourdomain.com/someasset
we are using cache everything, cache edge 20hours
the assets are html pages
and also api responses.
None of the page rules work.
Why?
Without seeing the specific information, it’s difficult to diagnose, but that generally looks correct. Though clearly something’s not set up right.
Those aliases are CNAMEs? If so, are they set to ?
When you visit those URLs, are you seeing a cf-cache-status header?
We also have a catch all * CNAME all are set with the orange cloud - I assume since our server is getting hit and the response times tell me its reading of our server DB, calling our api I will check the headers if poss, but from our end for some reason its not working.
So we have another batch of files that have a page rule to use caching
HTTP/1.1 200 OK =>
Date => Sat, 01 Dec 2018 06:02:46 GMT
Content-Type => text/html
Connection => close
Set-Cookie => __cfduid=d5496efe61cd93186e58df705a5efc4c81543644166; expires=Sun, 01-Dec-19 06:02:46 GMT; path=/;
Last-Modified => Mon, 19 Nov 2017 08:34:09 GMT
Cache-Control => public, max-age=86400
CF-Cache-Status => MISS
Expires => Sun, 02 Dec 2018 06:02:46 GMT
Accept-Ranges => bytes
Expect-CT => max-age=604800, report-uri=“https://report-uri.Cloudflare.com/cdn-cgi/beacon/expect-ct ”
Server => Cloudflare
CF-RAY => 482358c65b1e251f-ORD
This is the rule for that batch of pages
OK so that rule is fixed by using a wild card for the extention star.star
As now if get a CF-CACHE_STATUS HIT
2 Likes
system
Closed
December 15, 2018, 4:39pm
7
This topic was automatically closed after 14 days. New replies are no longer allowed.