GitHub user danobi opened a pull request:

    https://github.com/apache/trafficserver/pull/1516

    Implement Cache-Control: immutable handling

    This patch makes `combo_handler` correctly handle the presence of one or 
more immutable flags. 
    
    In short, the combo response will be immutable if and only if all requested 
documents have immutable in their response headers.
    
    In addition, the same logic applies for `Cache-Control: private`. This was 
not present before.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/danobi/trafficserver combocache_immutable

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/trafficserver/pull/1516.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1516
    
----
commit 3dfd7ef0da3915e257caafd2fea92d4812dbeb21
Author: Daniel Xu <[email protected]>
Date:   2017-02-24T15:36:50Z

    Implement Cache-Control: immutable for combohandler
    
    Before, combohandler would not insert the immutable cache control even
    if all the requested documents had the header. Now, combohandler will
    respect the presence of the header.

commit 9f9d6340dc3772ca13fb2d0ad2e8ed420c256019
Author: Daniel Xu <[email protected]>
Date:   2017-02-28T21:18:02Z

    Handle private header & code cleanup
    
    Now we handle Cache-Control: private directives. If any of the responses
    has a private directive, then the combo response should also be private.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to