You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "James Peach (JIRA)" <ji...@apache.org> on 2013/11/01 23:31:17 UTC
[jira] [Commented] (TS-886) Grace mode supported, very useful for
slow origins
[ https://issues.apache.org/jira/browse/TS-886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13811719#comment-13811719 ]
James Peach commented on TS-886:
--------------------------------
The RFC 5861 plugin is the recommended way to do this.
> Grace mode supported, very useful for slow origins
> --------------------------------------------------
>
> Key: TS-886
> URL: https://issues.apache.org/jira/browse/TS-886
> Project: Traffic Server
> Issue Type: New Feature
> Components: Cache, Core, HTTP
> Environment: N/A
> Reporter: Ricky Chan
> Priority: Minor
> Labels: backgound, grace, stale
> Fix For: sometime
>
>
> Varnish has long supported a mode called "grace mode" see https://www.varnish-cache.org/docs/trunk/tutorial/handling_misbehaving_servers.html.
> This is useful in cases where the origin server is slow at generating data, and you can configure it to serve stale content while a backend job is fetching the object.
> I would suggest this feature be enhanced to include support for.
> * url regex match to apply grace to.
> * override must-revalidate so that grace can be used (I know this violates the RFC, but a cache admin can optionally do this on a per origin/url basis).
> For example I have some origins which take between 5 to 20 seconds to generate content and this is handy in these known cases.
--
This message was sent by Atlassian JIRA
(v6.1#6144)