##// END OF EJS Templates
Enable whole thread template caching in thread list again
neko259 -
r1647:da6303a3 default
parent child Browse files
Show More
@@ -4,6 +4,7 b''
4 4 {% load board %}
5 5 {% load static %}
6 6 {% load tz %}
7 {% load cache %}
7 8
8 9 {% block head %}
9 10 <meta name="robots" content="noindex">
@@ -118,6 +119,7 b''
118 119 {% endif %}
119 120
120 121 {% for thread in threads %}
122 {% cache 500 thread thread.id thread.last_edit_time LANGUAGE_CODE TIME_ZONE %}
121 123 <div class="thread">
122 124 {% post_view thread.get_opening_post thread=thread truncated=True need_open_link=True %}
123 125 {% if not thread.archived %}
@@ -141,6 +143,7 b''
141 143 {% endwith %}
142 144 {% endif %}
143 145 </div>
146 {% endcache %}
144 147 {% endfor %}
145 148
146 149 {% if next_page_link %}
General Comments 0
You need to be logged in to leave comments. Login now