<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>CKAN: Ticket #2220: make ckan cacheable</title>
    <link>http://localhost/ticket/2220</link>
    <description>&lt;p&gt;
need to sort cookies etc
&lt;/p&gt;
&lt;p&gt;
should work with nginx and varnish
&lt;/p&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/2220</link>
    </image>
    <generator>Trac 0.12.3</generator>
    <item>
      
        <dc:creator>toby</dc:creator>

      <pubDate>Fri, 09 Mar 2012 11:07:21 GMT</pubDate>
      <title>status changed; owner set</title>
      <link>http://localhost/ticket/2220#comment:1</link>
      <guid isPermaLink="false">http://localhost/ticket/2220#comment:1</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;owner&lt;/strong&gt;
              set to &lt;em&gt;toby&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;accepted&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
issues:
&lt;/p&gt;
&lt;p&gt;
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
&lt;/p&gt;
&lt;p&gt;
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
&lt;/p&gt;
&lt;p&gt;
3) urls should be consistent so we should use id not name for datasets etc
&lt;/p&gt;
&lt;p&gt;
4) for now we can just use short expiry times as this prevents some of these problems
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>rgrp</dc:creator>

      <pubDate>Wed, 21 Mar 2012 12:31:39 GMT</pubDate>
      <title>milestone set</title>
      <link>http://localhost/ticket/2220#comment:2</link>
      <guid isPermaLink="false">http://localhost/ticket/2220#comment:2</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;milestone&lt;/strong&gt;
                set to &lt;em&gt;ckan-sprint-2012-03-19&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>toby</dc:creator>

      <pubDate>Wed, 28 Mar 2012 16:02:30 GMT</pubDate>
      <title></title>
      <link>http://localhost/ticket/2220#comment:3</link>
      <guid isPermaLink="false">http://localhost/ticket/2220#comment:3</guid>
      <description>
        &lt;p&gt;
Implementation of this has been carried out at the page level.
&lt;/p&gt;
&lt;p&gt;
ckan.page_cache_enabled is config option to enable it
&lt;/p&gt;
&lt;p&gt;
requires redis
&lt;/p&gt;
&lt;p&gt;
need to document it somewhere
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>toby</dc:creator>

      <pubDate>Mon, 28 May 2012 11:40:22 GMT</pubDate>
      <title>status changed; resolution set</title>
      <link>http://localhost/ticket/2220#comment:4</link>
      <guid isPermaLink="false">http://localhost/ticket/2220#comment:4</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;accepted&lt;/em&gt; to &lt;em&gt;closed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;resolution&lt;/strong&gt;
                set to &lt;em&gt;fixed&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>