Http header 304 and caching?
Posted
by
Royi Namir
on Server Fault
See other posts from Server Fault
or by Royi Namir
Published on 2012-10-11T07:54:01Z
Indexed on
2012/10/11
9:40 UTC
Read the original article
Hit count: 273
Our company uses these settings( don't ask me why) - for every request they want a new request from server. this is an intranet system which uses only IE.
They defined it in :
We also have windows authentication NTLM
in the iis7
.
I have 2 questions please.
Question #1)
when the browser make a request ( css ) :
(leave the 401 response for now - this is how ntlm works)
He is requesting it with if-modified-since
header.
why is he adding this header ? How can I configure it ? why doesn't he use the settings from IE and try to download it each time - as I showed in the first picture ?
Question #2)
The response ( after ntlm negotiation) for that was :
Response with Not-modified
which is 304 header. and I assume its because we sent the request with the if-modified-since
header.
But there is a problem.
He is actually tells me to download from my cache.
But I told him explicitly in the IE settings - not to load from cache.
Wham am I missing here ?
Thanks a lot.
© Server Fault or respective owner