[
https://issues.apache.org/jira/browse/HTTPCLIENT-1361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13670270#comment-13670270
]
Jon Moore commented on HTTPCLIENT-1361:
---------------------------------------
Just talked to @mnot on Twitter, and he clarified: "yeah, it's a bad name. The
intent was not to confine it to validation; it should work equally well for
responses without."
https://twitter.com/mnot/status/340068780602449920
So I'm +1 on this improvement.
> stale-while-revalidate should work also without last-modified nor etag
> ----------------------------------------------------------------------
>
> Key: HTTPCLIENT-1361
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1361
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: Cache
> Affects Versions: 4.3 Beta1
> Reporter: Francois-Xavier Bonnet
> Priority: Minor
>
> Currently stale-while-revalidate mechanism works only if the cache entry
> contains a last-modified or a etag header. It should work also for cache
> entries with expires or max-age.
> The specification is not very clear about what a revalidation is, but in the
> example there is no last-modified nor etag, only a cache-control: max-age
> http://tools.ietf.org/html/rfc5861
> If everybody agrees, I can work on a fix.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]