bfanger / tvkit

Proxy to run a modern dev server in old browsers
MIT License
22 stars 5 forks source link

Invalidate browser cache #8

Closed bfanger closed 1 year ago

bfanger commented 1 year ago

The headers of proxied request may contain cache headers, when tvkit is restarted with a different browser target this is an issue as the proxied "304 Not modified" is incorrect.

After a restart strip cache headers for get request before passing the request to the upstream server