From 0539e383092cb3c0363bd532c9f856c0d6f51d79 Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Sat, 18 Jun 2022 09:04:13 +0200 Subject: [PATCH] Workaround: index.html: remove image preload Related to https://github.com/searxng/searxng/issues/1326 URL for the logo is referenced twice: * in index.html for preloading: it contains the hash for cache busting (when static_use_hash: true) * in searxng.min.css: to actually display the image. The URL doesn't contain the hash. So the image preload actually loads twice the same image. This commit removed the image preloading. This is workaround: the real fix is to be able to use the URL with the hash in the CSS. --- searx/templates/simple/index.html | 3 --- 1 file changed, 3 deletions(-) diff --git a/searx/templates/simple/index.html b/searx/templates/simple/index.html index 5a83e10a0..5c207bbd9 100644 --- a/searx/templates/simple/index.html +++ b/searx/templates/simple/index.html @@ -1,8 +1,5 @@ {% extends "simple/base.html" %} {% from 'simple/icons.html' import icon_big %} -{% block meta %} - -{% endblock %} {% block content %}

SearXNG