-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
purge Javascript cache #30
Comments
Or they wait one hour. We have a very low cache bar as is. Not much else I can do but completely remove caching... |
Patrick,
If the javascipt is static,add the ETag to the response header.
The browser will send its ETag on the next request for you to compare with
the ETag computed for the static file.
If the ETags are the same, the server sends a 304, else it sends the file
content with a 200.
M$ sets the ETag to ((file last modified file time)^ file length ) to base
16 string.
Treg
…On Mar 5, 2018 1:43 PM, "Patrick Boyd" ***@***.***> wrote:
Or they wait one hour. We have a very low cache bar as is. Not much else I
can do but completely remove caching...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#30 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAvMbKVhFgGLCloJm0oQIpSH6lFDjp6Jks5tbZVwgaJpZM4SW1Ox>
.
|
ETag is set: I've just never seen a browser except Chrome honor it. And if you throw proxy's in there it gets messier. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems that some issues people encounter while using the registration issues get solved, but the solutions don't reach them until they purge their caches. Force a purge when there's an update to bypass this step.
The text was updated successfully, but these errors were encountered: