##// END OF EJS Templates
Optimized post reflinks caching
neko259 -
r570:4b322d4d 1.7-dev
parent child Browse files
Show More
@@ -4,7 +4,7 b''
4 4
5 5 {% get_current_language as LANGUAGE_CODE %}
6 6
7 {% cache 600 post post.id post.thread_new.last_edit_time truncated moderator LANGUAGE_CODE need_open_link %}
7 {% cache 600 post post.id thread.last_edit_time truncated moderator LANGUAGE_CODE need_open_link %}
8 8 {% spaceless %}
9 9 {% with thread=post.thread_new %}
10 10 {% if thread.archived %}
@@ -38,7 +38,7 b''
38 38 {% if thread.archived %}
39 39 — [{{ thread.bump_time }}]
40 40 {% endif %}
41 {% if not truncated and not thread.archived%}
41 {% if not truncated and not thread.archived %}
42 42 [<a href="#" onclick="javascript:addQuickReply('{{ post.id }}')
43 43 ; return false;">&gt;&gt;</a>]
44 44 {% endif %}
@@ -69,6 +69,7 b''
69 69 {{ post.text.rendered }}
70 70 {% endif %}
71 71 {% endautoescape %}
72 {% cache 600 post_replies post.id post.last_edit_time moderator LANGUAGE_CODE %}
72 73 {% if post.is_referenced %}
73 74 <div class="refmap">
74 75 {% trans "Replies" %}:
@@ -78,6 +79,7 b''
78 79 {% endfor %}
79 80 </div>
80 81 {% endif %}
82 {% endcache %}
81 83 </div>
82 84 {% if post.is_opening and thread.tags.exists %}
83 85 <div class="metadata">
General Comments 0
You need to be logged in to leave comments. Login now