Use 6 month cache for items that don't really need to expire

This commit is contained in:
Mouse Reeve
2022-01-06 10:27:12 -08:00
parent 0f37e0ad42
commit b3bfaf0586
4 changed files with 9 additions and 4 deletions

View File

@ -2,7 +2,8 @@
{% load cache %}
{% load bookwyrm_tags %}
{% cache None suggested_books request.user.id %}
{# 6 month cache #}
{% cache 15552000 suggested_books request.user.id %}
{% suggested_books as suggested_books %}
<section class="block">
<h2 class="title is-4">{% trans "Your Books" %}</h2>