searxngRebrandZaclys/searx
Markus Heiser fd5fcdedce [interim fix] static files can't be delivered by HTTP.
Since PR 932 [1][2] static files can't be delivered by HTTP server any longer.

This patch makes the hash paramter in the URL of static files:

    /static/themes/simple/css/searxng.min.css?5fde34a74bc438c7b56ec8c6501e131cc9914bd8

optional.  By default the hash parameter is disabled.

HINT:

  Instances that do not deliver static files by their HTTP server and have a
  long expire time [3] should enable this option.

----

This is only a interim solution, on the long run:

    make static.build.commit

creates files including the file name:

    css/searxng-5fde34a74bc438c7b56ec8c6501e131cc9914bd8.min.css

and a mapping.json with this content[4]

[1] https://github.com/searxng/searxng/issues/964
[2] https://github.com/searxng/searxng/pull/932#issuecomment-1067039518
[3] 5583336440
[4] https://github.com/searxng/searxng/pull/932#issuecomment-1067216426

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-03-20 16:28:14 +01:00
..
answerers [fix] issue reported by pylint 22.1.0 2022-02-04 09:45:35 +01:00
data Merge pull request #934 from searxng/update_data_update_ahmia_blacklist.py 2022-03-01 07:54:58 +01:00
engines fix startpage: update XPath in _fetch_supported_languages 2022-03-19 14:16:37 +01:00
infopage Info: code refactoring & bug fixes 2022-03-16 22:26:36 +01:00
metrics [enh] settings.yml: implement general.enable_metrics 2022-01-05 19:03:04 +01:00
network [mod] remove deprecate code 2022-01-29 08:54:12 +01:00
plugins [mod] infinite_scroll as preference 2022-02-20 22:58:51 +01:00
search [enh] implement a OnlineUrlSearchProcessor 2022-01-30 16:05:08 +01:00
shared [pyright:strict] searx.search.checker.background 2022-01-27 22:07:12 +01:00
static [build] /static 2022-03-19 20:51:51 +01:00
templates simple theme: JS version: the reset button clear the text 2022-03-19 20:49:37 +01:00
translations Merge pull request #859 from return42/fix-814 2022-03-20 08:31:07 +01:00
__init__.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
autocomplete.py [fix] brave autocompleter: charset_normalizer issues 2022-01-23 17:22:13 +01:00
babel_extract.py [mod] move category and names of constants to searx/searxng.msg 2022-03-16 09:55:53 +01:00
compat.py [fix] add module for backward compatibility 2022-03-12 15:45:28 +01:00
exceptions.py [pyright:strict] searx.search.checker.background 2022-01-27 22:07:12 +01:00
external_bang.py [fix] external bangs: don't overwrite Bangs in data trie 2022-01-12 19:37:13 +01:00
external_urls.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
flaskfix.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
languages.py Update searx.data - update_languages.py 2022-01-01 18:37:35 +01:00
locales.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
preferences.py [mod] infinite_scroll as preference 2022-02-20 22:58:51 +01:00
query.py [fix] remove broken ? search operator 2022-01-06 14:10:58 +01:00
results.py [simple theme] replace Image_layout.js with flexbox CS impl. 2022-02-26 22:31:47 +01:00
searxng.msg [mod] move category and names of constants to searx/searxng.msg 2022-03-16 09:55:53 +01:00
settings_defaults.py [interim fix] static files can't be delivered by HTTP. 2022-03-20 16:28:14 +01:00
settings_loader.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
settings.yml [interim fix] static files can't be delivered by HTTP. 2022-03-20 16:28:14 +01:00
unixthreadname.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
utils.py [mod] searx.utils: more typing 2022-01-30 22:14:12 +01:00
version.py [mod] version formatting 2022-02-21 21:18:37 +01:00
webadapter.py [fix] disabling all engines in a category makes the bang search in general 2022-01-03 20:23:46 +01:00
webapp.py [interim fix] static files can't be delivered by HTTP. 2022-03-20 16:28:14 +01:00
webutils.py [mod] URL for the static file contains the sha1 2022-03-05 10:50:48 +00:00