On Jan 30, 2008 9:26 AM, dreel <[EMAIL PROTECTED]> 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

_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to