diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-08-11 14:40:51 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-08-11 14:40:51 +0100 |
commit | b5ccc686b8f70a7c1bf2940c3354e732146e4bd3 (patch) | |
tree | 564f12d9c5820a40ce3998966170d80d85ec9ed1 /perllib/FixMyStreet/App/View | |
parent | 51b9420492bfc572710f833bc2a4242234caa7c8 (diff) |
Compile templates and set a long stat TTL in production.
Diffstat (limited to 'perllib/FixMyStreet/App/View')
-rw-r--r-- | perllib/FixMyStreet/App/View/Web.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/View/Web.pm b/perllib/FixMyStreet/App/View/Web.pm index df2d0ac20..44f80e375 100644 --- a/perllib/FixMyStreet/App/View/Web.pm +++ b/perllib/FixMyStreet/App/View/Web.pm @@ -24,6 +24,8 @@ __PACKAGE__->config( FILTERS => { escape_js => \&escape_js, }, + COMPILE_EXT => '.ttc', + STAT_TTL => FixMyStreet->config('STAGING_SITE') ? 1 : 86400, ); =head1 NAME |