Cache status contents

This commit is contained in:
Mouse Reeve 2022-01-05 10:22:25 -08:00
parent d8dbf94c29
commit a5309e9973

View file

@ -1,6 +1,7 @@
{% extends 'components/card.html' %}
{% load i18n %}
{% load utilities %}
{% load cache %}
{% block card-header %}
<div
@ -11,7 +12,10 @@
</div>
{% endblock %}
{# three day cache #}
{% cache 259200 status_content status.id %}
{% block card-content %}{% endblock %}
{% endcache %}
{% block card-footer %}
{% if moderation_mode and perms.bookwyrm.moderate_post %}