hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mohammed Azeem Uddin (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HTTPCLIENT-975) add support to caching module for RFC 5861 (stale-on-error and stale-while-revalidate)
Date Thu, 09 Dec 2010 16:32:01 GMT

     [ https://issues.apache.org/jira/browse/HTTPCLIENT-975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mohammed Azeem Uddin updated HTTPCLIENT-975:
--------------------------------------------

    Attachment: stale-if-error.patch

This patch adds support for "stale-if-error" - Cache-Control extension as defined in RFC 5861.
 Many thanks to my colleagues Matthew Hawthorne and Michajlo Matijkiw for their valuable inputs.


This patch has been submitted with the permission of my employer.

Thanks,
Mohammed Azeem

> add support to caching module for RFC 5861 (stale-on-error and stale-while-revalidate)
> --------------------------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-975
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-975
>             Project: HttpComponents HttpClient
>          Issue Type: New Feature
>          Components: Cache
>            Reporter: Jonathan Moore
>             Fix For: Future
>
>         Attachments: stale-if-error.patch
>
>
> These are Cache-Control extensions that allow an origin server to specify some additional
behavior for stale cache entries. Stale-on-error configurations allow a cache to continue
serving stale content for a certain period of time if a revalidation fails, and stale-while-revalidate
similarly allows revalidation to occur asynchronously. Some reverse proxies such as Squid
can be configured to understand these headers, which means that some origin servers are probably
sending them, and that we can likewise take advantage of them.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message