diff options
Diffstat (limited to 'conf')
-rw-r--r-- | conf/general.yml-docker | 6 | ||||
-rw-r--r-- | conf/general.yml-example | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/conf/general.yml-docker b/conf/general.yml-docker index 5a447dbee..fb789daf5 100644 --- a/conf/general.yml-docker +++ b/conf/general.yml-docker @@ -95,7 +95,7 @@ PHOTO_STORAGE_OPTIONS: # it doesn't already exist. Requires the appropriate AWS # permissions. # REGION: 'eu-west-1' # optional, only used if CREATE_BUCKET is set. Controls -# which AWS region the S3 bucket will be created in. + # which AWS region the S3 bucket will be created in. # Location of MapIt, to map points to administrative areas, and what types of # area from it you want to use. If left blank, a default area will be used @@ -225,6 +225,10 @@ GAZE_URL: 'https://gaze.mysociety.org/gaze' # This can be safely left out and will default to '127.0.0.1' even if not present. MEMCACHED_HOST: 'memcached.svc' +# Cache timeout - integer, optional, default 3600s (1 hour) +# Used for cache of front page stats/recent list, and /reports max-age. +CACHE_TIMEOUT: 3600 + # Should problem reports link to the council summary pages? AREA_LINKS_FROM_PROBLEMS: '0' diff --git a/conf/general.yml-example b/conf/general.yml-example index 11902c0b3..8dd4d0a2f 100644 --- a/conf/general.yml-example +++ b/conf/general.yml-example @@ -221,6 +221,10 @@ GAZE_URL: 'https://gaze.mysociety.org/gaze' # This can be safely left out and will default to '127.0.0.1' even if not present. MEMCACHED_HOST: '127.0.0.1' +# Cache timeout - integer, optional, default 3600s (1 hour) +# Used for cache of front page stats/recent list, and /reports max-age. +CACHE_TIMEOUT: 3600 + # Should problem reports link to the council summary pages? AREA_LINKS_FROM_PROBLEMS: '0' |