I would like to cache all the resources from a web application:
https://ytodo.app/ (html)
https://ytodo.app/styles.d63f6c2bab9843e44b2c.css
https://ytodo.app/service-worker.js
https://ytodo.app/manifest.json
https://ytodo.app/app.56044a139486445aa743.js
ttps://ytodo.app/icons/192x192.png
I have set the following page rules:
*.ytodo.app/*
cache level: cache everything
edge cache ttl: a month
*www.ytodo.app/*
forwarding url: permanent redirection
https://ytodo.app/$1
However I still get ‘cf-cache-status: MISS’ on the response headers for all resources, except for the json and html, which doesn’t show cf-cache-status header, but I suspect they’re not being cached as well.
It’s also not redirecting from www.ytodo.app
to ytodo.app
Thank you for your help!