Commit 9d65fee9 authored by Michal Čihař's avatar Michal Čihař

Increase caching time

parent db34f6d9
......@@ -468,8 +468,8 @@ def not_found(request):
'projects': Project.objects.all(),
})))
# Cache this page for one day, it should not really change much
@cache_page(24 * 3600)
# Cache this page for one month, it should not really change much
@cache_page(30 * 24 * 3600)
def js_config(request):
if settings.MT_APERTIUM_KEY is not None and settings.MT_APERTIUM_KEY != '':
try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment