[Catalyst] PageCache clear cached page

Matthias Zeichmann matthias.zeichmann at gmail.com
Wed Jan 30 08:33:47 GMT 2008


On Jan 30, 2008 9:26 AM, dreel <dreel at bk.ru> wrote:
> HEllo! I' trying to cleaner for cached page as shown in
> http://dev.catalyst.perl.org/wiki/SolvedIssues#si.20
> "Exempting specific pages from cacheing."
>
> I've create MyApp.yml:
> ...
> page_cache:
>    expires: 60
>    set_http_headers: 1
>    auto_cache:
>       - (?!.*/(debug|expire)\z).*
> # cache everything but requests ending in /(debug|expire)

same behaviour if you move the config to MyApp.pm? i suspect the
regexp needs quoting in the yaml
-- 
siggen.pl: Segmentation Fault



More information about the Catalyst mailing list