Ticket #668 (closed defect: invalid)

Opened 4 years ago

Last modified 3 years ago

Caching issues on API v1

Reported by: Colin Calnan Owned by: thejimmyg
Priority: minor Milestone:
Component: ckan Keywords:
Cc: Repository: ckan
Theme: none

Description (last modified by dread) (diff)

It seems like the API v1 on CKAN metastable (cset:ec21f8e1c87e) has some caching issues.

Steps to test:

  1. Modify a dataset on datadotgc.ca, redirects to CKAN
  1. 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
  1. 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
  1. Check the v2 of the API - http://ca.ckan.net/api/rest/package/geogratisnat_hydrography_v100, the updates are present.
  1. Setting the headers to 'Cache-control: no-cache' or 'Pragma: no-cache' does not work either.

Change History

comment:1 Changed 4 years ago by dread

  • Description modified (diff)

comment:2 Changed 3 years ago by thejimmyg

  • Owner set to thejimmyg
  • Priority changed from major to minor

Assigning this to myself but won't be looking at it any time soon, if anyone else wants to take it on I'd be very grateful.

comment:3 Changed 3 years ago by dread

  • Type changed from bug to defect

comment:4 Changed 3 years ago by thejimmyg

  • Repository set to ckan
  • Status changed from new to closed
  • Theme set to none
  • Resolution set to invalid

This ticket is more than 6 months old so marking as invalid in line with our ticketing policy. The API v1 and 2 were completely re-written as part of the logic layer refactor so it is likely this issue is resolved anyway.

Note: See TracTickets for help on using tickets.