Crazy Rabbit
01/13/2023, 6:58 AMCrazy Rabbit
01/13/2023, 6:58 AMCrazy Rabbit
01/13/2023, 6:59 AMCrazy Rabbit
01/13/2023, 6:59 AMCrazy Rabbit
01/13/2023, 7:00 AMJames
01/13/2023, 9:13 AMTL&D
01/14/2023, 11:06 AMDani Foldi
01/14/2023, 1:41 PMTL&D
01/14/2023, 1:47 PMTL&D
01/14/2023, 1:48 PMTL&D
01/14/2023, 1:54 PMTL&D
01/14/2023, 1:57 PMTL&D
01/14/2023, 2:08 PMTL&D
01/14/2023, 2:49 PMSchmime
01/15/2023, 9:32 AMnpx -y https://prerelease-registry.developers.workers.dev/runs/3446839001/npm-package-wrangler-2162 pages dev ./public --local --persist --service TEST=a
when I print out my context I get { ASSETS: Fetcher {}, ENVIRONMENT: 'development' }
no service binding there. Thank you for your help!TheSpik3
01/17/2023, 9:14 AM_headers
file with
`
/
Cache-Control: public, max-age=0, s-maxage=0, must-revalidate
But cache status is still HIT (with proxy disabled, otherwise it says DYNAMIC, which is pretty missleading). Is there any way to disable removed asset caching on /
or globally? It's very annoying.HardAtWork
01/17/2023, 9:16 AMTheSpik3
01/17/2023, 9:22 AM/
route (index) I'm randomly getting cache hits from multiple old versions. I would like to disable that behavior. I thought that _headers
file was way to do that, but it's not working.HardAtWork
01/17/2023, 9:58 AMTheSpik3
01/17/2023, 10:08 AMindex.html
, but now that there is SSR, the static asset is deleted, Pages adds cache header to it, so old clients won't break. But I don't want that, I want to force new version. This is not an issue when you deploy immediately to SSR, but it appers when you switch from static to SSR. https://community.cloudflare.com/t/custom-purge-not-working-with-pages/331906/6 here is the same problem I believe. I thought _headers
was the mentioned config, but I guess it wasn't implemented at all?HardAtWork
01/17/2023, 10:11 AMRhino233
01/17/2023, 6:29 PMJames
01/17/2023, 6:30 PMJames
01/17/2023, 6:31 PMRhino233
01/17/2023, 6:33 PMJames
01/17/2023, 6:34 PMnext export
, you might be good though.Rhino233
01/17/2023, 6:35 PMJames
01/17/2023, 6:35 PMSkye
01/17/2023, 6:36 PMSkye
01/17/2023, 6:36 PM