Ticket #2220 (closed enhancement: fixed)
make ckan cacheable
Reported by: | toby | Owned by: | toby |
---|---|---|---|
Priority: | awaiting triage | Milestone: | ckan-sprint-2012-03-19 |
Component: | ckan | Keywords: | |
Cc: | Repository: | ckan | |
Theme: | none |
Description
need to sort cookies etc
should work with nginx and varnish
Change History
Note: See
TracTickets for help on using
tickets.
issues:
1) want to cache static files long term - need to add a ?ver=xxx to allow changes - this will need a change to all templates etc - could be seen as a good thing
2) we can only purge specific pages not whole cache so we need to know all the urls which want to be invalidated - including language variants
3) urls should be consistent so we should use id not name for datasets etc
4) for now we can just use short expiry times as this prevents some of these problems