You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2013/05/02 07:32:15 UTC

[jira] [Commented] (TS-1571) Steal^Wborrow httpd's mod_cache idea of X-Cache-Detail headers

    [ https://issues.apache.org/jira/browse/TS-1571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13647312#comment-13647312 ] 

Leif Hedstrom commented on TS-1571:
-----------------------------------

When we do this lets make it generic enough that it can implement any of these types of headers. Either via flexible ("template" strings in records.config) or plugin APIs. Ideally, the old style verbose Via headers code could then be ripped out from the code, and reimplemented as one of these templates or plugins.

This makes a lot of sense when someone want to emulate what (and when) another CDN vendor or proxy server puts into the response headers.
                
> Steal^Wborrow httpd's mod_cache idea of X-Cache-Detail headers
> --------------------------------------------------------------
>
>                 Key: TS-1571
>                 URL: https://issues.apache.org/jira/browse/TS-1571
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Cache
>            Reporter: Igor Galić
>             Fix For: 3.5.0
>
>
> Starting v2.3.9 httpd's mod_cache implements a feature enabled by [CacheDetailHeader|http://httpd.apache.org/docs/trunk/mod/mod_cache.html#cachedetailheader] - which in nature is very similar to our Via header feature but is easier to read and understand by spelling out why something was cached/missed/revalidated/etc.. in words - so it doesn't need a decoder ring.
> Given that we already have Via headers feature it should be fairly easy to implement a logic for producing a very similar header our selves.

--
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