Build Cache is not working for Astro Static build with CF Pages
Pages:
cdfa2efe.website-4wh.pages.dev
Deployment ID: cdfa2efe-8f76-4df8-b9f1-cd8dc2feafce
Account ID: f69696ea6aec9975d75a770144674386
Hi, im using astro with a static build on cloudflare pages with git connected automatic builds.
I've enabled build cache for the project, but between subsequent builds the cache has not been used for astro(if you check logs there is an image optimization, on subsequent builds with this image optimization locally it uses cache to speed things up, but in CF pages it doesnt)
I also tried several times to set Framework preset to Astro
but it revets back to None
after i save it1 Reply
no cache hits on sub sequent builds
4c5f7c96-d99c-499f-b247-a6146e40ced7
oh false alaram, my pnpm version was ahead of default CF version
so it skipped caching anything it seems
after i changed caching works as expected