diff --git a/boards/templates/boards/all_threads.html b/boards/templates/boards/all_threads.html --- a/boards/templates/boards/all_threads.html +++ b/boards/templates/boards/all_threads.html @@ -4,6 +4,7 @@ {% load board %} {% load static %} {% load tz %} +{% load cache %} {% block head %} @@ -118,6 +119,7 @@ {% endif %} {% for thread in threads %} + {% cache 500 thread thread.id thread.last_edit_time LANGUAGE_CODE TIME_ZONE %}
{% post_view thread.get_opening_post thread=thread truncated=True need_open_link=True %} {% if not thread.archived %} @@ -141,6 +143,7 @@ {% endwith %} {% endif %}
+ {% endcache %} {% endfor %} {% if next_page_link %}