How to update Workers Static Assets?
I have a worker serving only static assets via
wrangler.toml
and then I updated one of the files. After 2+ days, the endpoint for it is still serving stale data. Even if I add a Cache Bypass Rule and manually purge the cache via the URI, it still serves the stale data.
May I know how does Static Assets get served & how its caching works? Is it separate from Cloudflare's cache?1 Reply
Are you sure you redeployed?
Workers run before cache so we'd always serve the latest of what we have