Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

Do not serve source map on Hash mismatch #931

Closed
GoogleCodeExporter opened this issue Apr 6, 2015 · 1 comment
Closed

Do not serve source map on Hash mismatch #931

GoogleCodeExporter opened this issue Apr 6, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Source maps are served by the same process as rewritten resources. By default, 
if we get a request for a rewritten resource with a hash different from the one 
we have in cache, we'll still serve the one in cache (with 
Cache-Control:private,max-age=300).

This is very bad for source maps, because ones with different hashes are 
completely wrong. We should not serve these.

Original issue reported on code.google.com by sligocki@google.com on 21 Apr 2014 at 7:21

@sligocki sligocki self-assigned this Apr 9, 2015
sligocki added a commit that referenced this issue Jun 12, 2015
…s different then the source map is completely useless and will only confuse users trying to debug.

Fixes Issue #931.
@sligocki
Copy link
Contributor

Fixed by fb49739

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants