Menu

#13 Use "If-Modified-Since" in cache updates

open
nobody
None
5
2002-05-12
2002-05-12
No

Currently a HEAD request is made to get the last modified date of a resource. If it's out of date a second GET request is made to get the resource.

This could be changed to a GET with "If-Modified-Since" which would return a 304 (Not Modified) response if up-to-date or act like a normal GET if out of date. This would be more efficient network usage.

See RFC 2616 for a description of "If-Modified-Since" in HTTP transactions.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.