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,9 @@
{% load utilities %}
{% load cache %}
{% spaceless %}
{% cache None titleby book.id %}
{# 6 month cache #}
{% cache 15552000 titleby book.id %}
{% if book.authors.exists %}
{% blocktrans trimmed with path=book.local_path title=book|book_title %}