From 9aad37acd5c5b128bf4fc7222a755f820cf1bf3a Mon Sep 17 00:00:00 2001 From: Christof Dorner Date: Mon, 26 Dec 2022 17:52:03 +0100 Subject: [PATCH] Specificy fragment name in cache key for landing page --- bookwyrm/templates/landing/landing.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bookwyrm/templates/landing/landing.html b/bookwyrm/templates/landing/landing.html index e4807b005..465584cab 100644 --- a/bookwyrm/templates/landing/landing.html +++ b/bookwyrm/templates/landing/landing.html @@ -10,7 +10,8 @@ {% get_current_language as LANGUAGE_CODE %} -{% cache 60 * 60 LANGUAGE_CODE %} +{# 1 hour cache #} +{% cache 3600 landing LANGUAGE_CODE %} {% get_landing_books as books %}