chrome-extension-tools
chrome-extension-tools copied to clipboard
Proxy Cache-Control header
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.