# HG changeset patch # User neko259 # Date 2016-09-22 12:18:54 # Node ID da6303a303a504c045f4ecb7d4bfcf6f8af941d4 # Parent db1394d8cee67c0aa45cf9597a01faeec80f9f00 Enable whole thread template caching in thread list again 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 %}