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

Add positive cache timeout #5

Open
xxv opened this issue Dec 1, 2011 · 0 comments
Open

Add positive cache timeout #5

xxv opened this issue Dec 1, 2011 · 0 comments

Comments

@xxv
Copy link
Collaborator

xxv commented Dec 1, 2011

So that images that get cached are updated, standard HTTP caching techniques should be employed to ensure that they aren't out of date.

This includes conditional HTTP headers, e-tag storing and last-modified storing. The metadata should be stored in a way that hitting the "clear cache" button in the system UI will clear the database too.

It may even make sense to look into using a proper HTTP caching library for this part, while still using this for any resized derivatives. This library will still need to know when to refresh derivatives, so it may need to communicate with the cache.

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

No branches or pull requests

1 participant