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

Enable "forever" caching of static assets #776

Closed
2 tasks
dstufft opened this issue Nov 20, 2015 · 1 comment · Fixed by #873
Closed
2 tasks

Enable "forever" caching of static assets #776

dstufft opened this issue Nov 20, 2015 · 1 comment · Fixed by #873

Comments

@dstufft
Copy link
Member

dstufft commented Nov 20, 2015

Right now our static assets have cache_max_age=0 to disable their caching. We need a few things to make this able to be cached a long time again:

  • The Pyramid cache buster should error if it can't find a busted URL for the file.
  • Pyramid needs to handle overriding the cache buster for overridden static assets.
@dstufft dstufft added this to the Become PyPI milestone Nov 20, 2015
@dstufft
Copy link
Member Author

dstufft commented Nov 27, 2015

This is dependent on Pylons/pyramid#2145.

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 a pull request may close this issue.

1 participant