Forráskód Böngészése

Fix cache collision in blog index by adding tag to cache key (#592)

Fixes #590
Divyansh8843 1 hónapja
szülő
commit
3c7e3af163
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      bakerydemo/templates/blog/blog_index_page.html

+ 1 - 1
bakerydemo/templates/blog/blog_index_page.html

@@ -37,7 +37,7 @@
 
         <div class="blog-list">
             {% if posts %}
-                {% wagtailcache 500 posts %}
+                {% wagtailcache 500 posts tag %}
                     {% for blog in posts %}
                         {% include "includes/card/blog-listing-card.html" %}
                     {% endfor %}