<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>CKAN: Ticket #668: Caching issues on API v1</title>
    <link>http://localhost/ticket/668</link>
    <description>&lt;p&gt;
It seems like v1 of the API has some caching issues.
&lt;/p&gt;
&lt;p&gt;
Steps to test:
&lt;/p&gt;
&lt;ol&gt;&lt;li&gt;Modify a dataset on datadotgc.ca, redirects to CKAN
&lt;/li&gt;&lt;/ol&gt;&lt;ol start="2"&gt;&lt;li&gt;On save, redirects to &lt;a class="ext-link" href="http://www.datadotgc.ca/update/geogratisnat_hydrography_v100"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://www.datadotgc.ca/update/geogratisnat_hydrography_v100&lt;/a&gt; which in turn redirects to &lt;a class="ext-link" href="http://www.datadotgc.ca/dataset/geogratisnat_hydrography_v100"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://www.datadotgc.ca/dataset/geogratisnat_hydrography_v100&lt;/a&gt;
&lt;/li&gt;&lt;/ol&gt;&lt;ol start="3"&gt;&lt;li&gt;You can see that the Dataset has not updated correctly. Run a check on the API v1 - &lt;a class="ext-link" href="http://ca.ckan.net/api/1/rest/package/geogratisnat_hydrography_v100"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://ca.ckan.net/api/1/rest/package/geogratisnat_hydrography_v100&lt;/a&gt; the updates are not present
&lt;/li&gt;&lt;/ol&gt;&lt;ol start="4"&gt;&lt;li&gt;Check the v2 of the API - &lt;a class="ext-link" href="http://ca.ckan.net/api/rest/package/geogratisnat_hydrography_v100"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://ca.ckan.net/api/rest/package/geogratisnat_hydrography_v100&lt;/a&gt;, the updates are present.
&lt;/li&gt;&lt;/ol&gt;&lt;ol start="5"&gt;&lt;li&gt;Setting the headers to 'Cache-control: no-cache' or 'Pragma: no-cache' does not work either.
&lt;/li&gt;&lt;/ol&gt;</description>
    <language>en-us</language>
    <image>
      <title>CKAN</title>
      <url>http://assets.okfn.org/p/ckan/img/ckan_logo_shortname.png</url>
      <link>http://localhost/ticket/668</link>
    </image>
    <generator>Trac 0.12.3</generator>
    <item>
      
        <dc:creator>dread</dc:creator>

      <pubDate>Fri, 08 Oct 2010 11:09:10 GMT</pubDate>
      <title>description changed</title>
      <link>http://localhost/ticket/668#comment:1</link>
      <guid isPermaLink="false">http://localhost/ticket/668#comment:1</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;description&lt;/strong&gt;
              modified (&lt;a href="/ticket/668?action=diff&amp;amp;version=1"&gt;diff&lt;/a&gt;)
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>thejimmyg</dc:creator>

      <pubDate>Fri, 07 Jan 2011 14:54:20 GMT</pubDate>
      <title>priority changed; owner set</title>
      <link>http://localhost/ticket/668#comment:2</link>
      <guid isPermaLink="false">http://localhost/ticket/668#comment:2</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;owner&lt;/strong&gt;
              set to &lt;em&gt;thejimmyg&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;priority&lt;/strong&gt;
                changed from &lt;em&gt;major&lt;/em&gt; to &lt;em&gt;minor&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
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.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>dread</dc:creator>

      <pubDate>Wed, 12 Jan 2011 12:43:05 GMT</pubDate>
      <title>type changed</title>
      <link>http://localhost/ticket/668#comment:3</link>
      <guid isPermaLink="false">http://localhost/ticket/668#comment:3</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;type&lt;/strong&gt;
                changed from &lt;em&gt;bug&lt;/em&gt; to &lt;em&gt;defect&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>thejimmyg</dc:creator>

      <pubDate>Wed, 20 Jul 2011 15:44:09 GMT</pubDate>
      <title>status changed; repo, theme, resolution set</title>
      <link>http://localhost/ticket/668#comment:4</link>
      <guid isPermaLink="false">http://localhost/ticket/668#comment:4</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;repo&lt;/strong&gt;
                set to &lt;em&gt;ckan&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;new&lt;/em&gt; to &lt;em&gt;closed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;theme&lt;/strong&gt;
                set to &lt;em&gt;none&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;resolution&lt;/strong&gt;
                set to &lt;em&gt;invalid&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
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.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>