From 6814be78d7a9c88381d1df95c5d70319162ca073 Mon Sep 17 00:00:00 2001 From: Oliver Falk Date: Mon, 11 Mar 2019 11:03:24 +0100 Subject: [PATCH] Change cache for issue #50 --- config.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config.py b/config.py index 53d9f91..71207dc 100644 --- a/config.py +++ b/config.py @@ -188,4 +188,6 @@ CACHES = { } } -CACHE_IMAGES_MAX_AGE = 24 * 60 * 60 +# This is 5 minutes caching for generated/resized images, +# so the sites don't hit ivatar so much +CACHE_IMAGES_MAX_AGE = 5 * 60