Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

when the server provides an Expires header, our cache extension may not work everywhere #34

Closed
GoogleCodeExporter opened this issue Apr 6, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

In some configurations, Apache will add an Expires header to resources.

This can conflict with our cache extension headers, which use Cache-Control: 
max-age.

In most cases this is a non-issue since CC max-age is preferred to Expires per 
the HTTP/1.1 RFC.

However Firefox (through v4?) and HTTP/1.0 proxies will use Expires when both 
are present.

When an Expires header is present, we should overwrite it with a date that 
matches the value in the CC max-age header.

Original issue reported on code.google.com by bmcqu...@google.com on 6 Nov 2010 at 11:57

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant