There's a good example using the 'Cache-Control' header in the new Catalyst book, Chapter 11, section 'Deploy with a Cache'.
On Thu, 2010-01-14 at 16:05 +0100, Dami Laurent (PJ) wrote: > Hi Catalysters, > > For some actions of a Catalyst app, I would like to implement > conditional GET (using If-Modified-Since HTTP header), where the > timestamp of one config file decides whether the page should be > refreshed or not --- this is because that page is quite expensive to > compute. > > This scenario sounds like a common thing to do, so I expected to find > some Catalyst plugins/extensions in CPAN to do that, but didn't find > any. Did I just miss some CPAN modules, or should I really start from > scratch ? > > Thanks in advance for any hints, > > Laurent Dami > > _______________________________________________ > List: Catalyst@lists.scsys.co.uk > Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst > Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ > Dev site: http://dev.catalyst.perl.org/ -- Kiffin Gish <kiffin.g...@planet.nl> Gouda, The Netherlands _______________________________________________ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/