Use 6 month cache for items that don't really need to expire
This commit is contained in:
parent
0f37e0ad42
commit
b3bfaf0586
4 changed files with 9 additions and 4 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue