Skip to content

Conversation

@demetriusnunes
Copy link

Attempt to close #11. Also, changing default cache duration to 24h (instead of 12h).

Attempt to close niiknow#11. Also, changing default cache duration to 24h (instead of 12h).
@demetriusnunes
Copy link
Author

This actually only augments the max age to 24h instead of 12h. Having 2 Cache-Control headers is not an actual issue.

@demetriusnunes demetriusnunes changed the title Placing the add_header after expires Increases default expires/max-age to 24h Aug 14, 2017
@noogen
Copy link
Contributor

noogen commented Aug 14, 2017

My cache control header is there just in case somebody want to host it publicly. Since the cache set to "public" / client-side. It really doesn't matter to anyone who is hosting it behind a proxy like me. I override that cache-control on my CDN anyway. Approve merging per request.

@noogen noogen merged commit c6dcffb into niiknow:master Aug 14, 2017
noogen added a commit that referenced this pull request Mar 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Setting Cache-Control twice

2 participants