aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--perllib/FixMyStreet/App/View/Web.pm2
2 files changed, 3 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 073bd7ab7..ea28bc4b2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
+*.ttc
/cities_bin
/private_locale
._*
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