Details
-
Type:
New Feature
-
Status:
Reopened
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 3.1
-
Fix Version/s: None
-
Component/s: Core
-
Labels:None
-
Number of attachments :
Description
The main idea is to use Last-Modified and ETag to issue conditional GET/HEAD requests to servers using If-Modified-Since and/or If-Match-None request headers. For details please check the following sub-section of the HTTP/1.1 Specification.
http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html#sec13.3.4
Its allowed to add 10 % to the last modified date if there is no caching information.
Submitted a pull request with minor fixes related to testing this feature. Please check the following for more details on the changes.
http://github.com/hamnis/httpcache4j/pull/1