Ticket #668 (new bug) — at Initial Version
Caching issues on API v1
Reported by: | Colin Calnan | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | ckan | Keywords: | |
Cc: | Repository: | ckan | |
Theme: | none |
Description
It seems like v1 of the API has some caching issues.
Steps to test:
- Modify a dataset on datadotgc.ca, redirects to CKAN
- On save, redirects to http://www.datadotgc.ca/update/geogratisnat_hydrography_v100 which in turn redirects to http://www.datadotgc.ca/dataset/geogratisnat_hydrography_v100
- You can see that the Dataset has not updated correctly. Run a check on the API v1 - http://ca.ckan.net/api/1/rest/package/geogratisnat_hydrography_v100 the updates are not present
- Check the v2 of the API - http://ca.ckan.net/api/rest/package/geogratisnat_hydrography_v100, the updates are present.
- Setting the headers to 'Cache-control: no-cache' or 'Pragma: no-cache' does not work either.
Note: See
TracTickets for help on using
tickets.