From f5e61f2d868e4d3a6f030a3e1c91f31935bc108b Mon Sep 17 00:00:00 2001 From: booosy Date: Wed, 24 Aug 2022 01:13:15 -0700 Subject: [PATCH] Js cachebreaking setup --- files/templates/search.html | 2 +- files/templates/util/assetcache.html | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/files/templates/search.html b/files/templates/search.html index 3c007d6ff..7a5252e46 100644 --- a/files/templates/search.html +++ b/files/templates/search.html @@ -83,7 +83,7 @@
- + {% endif %}
Showing {% block listinglength %}{{listing | length}}{% endblock %} of {{total}} result{{'s' if total != 1 else ''}} for

{{query}}

diff --git a/files/templates/util/assetcache.html b/files/templates/util/assetcache.html index d141979a2..0507974bc 100644 --- a/files/templates/util/assetcache.html +++ b/files/templates/util/assetcache.html @@ -1,6 +1,6 @@ {%- set CACHE_VER = { - 'css/main.css': 480, + 'css/main.css': 481, 'css/catalog.css': 2, 'css/4chan.css': 61, @@ -25,6 +25,7 @@ set CACHE_VER = { 'js/formatting.js': 240, 'js/lottery.js': 256, 'js/marked.js': 283, + 'js/search.js': 200, 'js/submit.js': 270, 'js/userpage.js': 244, 'js/userpage_v.js': 245,