4 ms·
A blog post that's probably not worth linking to, since apparently it was wrong. Am I correctly inferring that you need at least a Last-Modified in the respons
by apendleton 13y ago
A blog post that's probably not worth linking to, since apparently it was wrong.
Am I correctly inferring that you need at least a Last-Modified in the response to do a cache-conditional request, though?
- sluukkonen 13y agoEither Last-Modified or Etag is sufficient. Most servers will add both, though. Edit: The difference is that Last-Modified allows clients to use a heuristic to determine if the response should be cached for a certain duration (unless explicit Cache-Control or Expires headers are used). The heuristic isn't specified, but a 10% fraction of Date - Last-Modified is suggested, and in fact, that is what e.g. Internet Explorer does.