nonopolarity
nonopolarity

Reputation: 150996

Why does Web Server respond "304 Not Modified" when no Etag and no "If-Modified-Since" is in request header

I get back

304 Not Modified 

from the web server, but in Firebug, the request header doesn't have Etag and doesn't have If-Modified-Since, and I looked at all the header line and there was no datetime info at all, so how does the server know the content is not modified?

Upvotes: 0

Views: 803

Answers (1)

Marc Novakowski
Marc Novakowski

Reputation: 45398

The "ETag" header is sent by the server in the response - the client sends an "If-None-Match" back to the server with the ETag value if it already has it cached.

Upvotes: 1

Related Questions