Presently I have the following settings:
- For url
notdevtools.com/*
, cache level = “Cache Everything” - For url
notdevtools.com/*
, browser cache TTL = 30 minutes - For url
notdevtools.com/*
, edge cache TTL = 2 hours - For URI path containing “/”, set static header “Cache-Control” = “public, max-age=3600”
- For URI path containing “/”, remove header “Date”
- Caching level = “No query string”
- Browser cache TTL = “4 hours”
However the following URL:
notdevtools DOT COM /devtools/third_party/intl-messageformat/package/intl-messageformat.esm.js.map
Always returns cf-cache-status = "STALE"
(and I can confirm it is hitting my backend origin).
I can’t see anything in the response of my origin that would prevent caching, but… it still isn’t caching.
And the response my server gives is:
Request Method: GET
Status Code: 500 “Error: ENOENT: no such file or directory, stat ‘/root/new-site/dist/devtools/third_party/intl-messageformat/package/intl-messageformat.esm.js.map’”
Remote Address: 157.230.4.17:443
Referrer Policy: strict-origin-when-cross-origin
CDN-Cache-Control: public, max-age=3600
Connection: keep-alive
Date: Tue, 09 Aug 2022 14:29:50 GMT
Keep-Alive: timeout=5
Transfer-Encoding: chunked
Vary: Origin
Any help would be very much appreciated!