chrome-extension-tools icon indicating copy to clipboard operation
chrome-extension-tools copied to clipboard

Proxy Cache-Control header

Open rogueg opened this issue 4 months ago • 2 comments

I was running into an issue where refreshing an extension page would load stale code.

This happened because without the cache-control header, refreshing would use the cached version of index.html. Vite already sets the header appropriately, so we just need to pass it down through the service worker.

rogueg avatar Sep 30 '24 16:09 rogueg