Remove of no-cache since its not correctly used when scripts are not loaded #5041
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
We do not respond with a E-TAG since there is no resource for this.
Or we could skip the semantically correct and just return status code 500 when there is a wrong INVALID_BUILD_ID. In my feeling this only happens when upgrading a web service across multiple nodes.
User hits A and gets the server response, then fetches the scripts which hit B which isn't upgraded yet and that returns 404. In the best of the worlds the user should now navigate again and everything will be resolved. But what happens when the 404 gets stucked is very troublesome as its not resolvable by the client. And CDN's never caches 500's. So I would say this is more correct to avoid the problem.