Merge branch 'master' into zykure/approved
[xonotic/xonstat.git] / production.ini
index 94c751fd74e7e0ade14c2c2aaf5a98d0f1a4fb6a..e36da4b0be8980a2ed9d66f7664d566b68706798 100644 (file)
@@ -10,6 +10,12 @@ sqlalchemy.url = sqlite:///%(here)s/XonStat.db
 jinja2.directories = xonstat:templates
 mako.directories = xonstat:templates
 
+# Beaker cache settings
+# Default is to use one region with hourly cache invalidation
+cache.regions = hourly_term
+cache.type = memory
+cache.hourly_term.expire = 3600
+
 xonstat.minimum_required_players = 2
 xonstat.leaderboard_lifetime = 7
 xonstat.verify_requests = true