From 26c590e536eba072686b2e73ae5de76fb8fde312 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Thu, 6 Mar 2025 07:42:24 +0100 Subject: [PATCH] [mod] enable CSS & JS cache busting by default The static files (CSS & JS) are cached in the browser for one year. If we have changes to the CSS or JS files, these are not yet transported to the client by default, which causes problems and irritations on the client side. Related: - https://github.com/searxng/searxng/issues/4415#issuecomment-2702917901 - https://github.com/searxng/searxng/pull/932 Signed-off-by: Markus Heiser --- searx/settings.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searx/settings.yml b/searx/settings.yml index 6aafaeb63..03d569dbc 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -118,7 +118,7 @@ ui: # Custom static path - leave it blank if you didn't change static_path: "" # Is overwritten by ${SEARXNG_STATIC_USE_HASH}. - static_use_hash: false + static_use_hash: true # Custom templates path - leave it blank if you didn't change templates_path: "" # query_in_title: When true, the result page's titles contains the query