Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set Cache-Control immutable #2672

Merged
merged 1 commit into from May 13, 2016

Conversation

kpcyrd
Copy link
Contributor

@kpcyrd kpcyrd commented May 12, 2016

Given that /ipfs/ resources never change, we can easily benefit from this new cache control extension.

Support for this is about to land in Firefox 49:

https://bugzilla.mozilla.org/show_bug.cgi?id=1267474

For more details, there is a good blogpost about this here:

https://bitsup.blogspot.de/2016/05/cache-control-immutable.html

This header is ignored by clients that don't support it.

Given that /ipfs/ resources never change, we can easily benefit from this
new cache control extension.

Support for this is about to land in Firefox 49:

https://bugzilla.mozilla.org/show_bug.cgi?id=1267474

For more details, there is a good blogpost about this here:

https://bitsup.blogspot.de/2016/05/cache-control-immutable.html

This header is ignored by clients that don't support it.

License: MIT
Signed-off-by: kpcyrd <git@rxv.cc>
@kpcyrd kpcyrd force-pushed the feature/cache-control-immutable branch from f64793a to c2a3e31 Compare May 12, 2016
@Kubuxu
Copy link
Member

Kubuxu commented May 13, 2016

LGTM, It doesn't seem like anyone is using it yet but it seems like a good idea.

@whyrusleeping
Copy link
Member

whyrusleeping commented May 13, 2016

LGTM, this is really interesting stuff

@whyrusleeping whyrusleeping merged commit 7732411 into ipfs:master May 13, 2016
2 of 3 checks passed
@kpcyrd kpcyrd deleted the feature/cache-control-immutable branch May 17, 2016
@kpcyrd
Copy link
Contributor Author

kpcyrd commented Aug 7, 2016

Heads up: Firefox is shipping support in 49 \o/

https://developer.mozilla.org/en-US/Firefox/Releases/49#HTTP

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.

None yet

3 participants