mirror of https://github.com/searxng/searxng
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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]
|
2 years ago | |
---|---|---|
.. | ||
answerers | 3 years ago | |
data | 3 years ago | |
engines | 2 years ago | |
infopage | 2 years ago | |
metrics | 3 years ago | |
network | 3 years ago | |
plugins | 3 years ago | |
search | 3 years ago | |
shared | 3 years ago | |
static | 2 years ago | |
templates | 2 years ago | |
translations | 2 years ago | |
__init__.py | 3 years ago | |
autocomplete.py | 3 years ago | |
babel_extract.py | 2 years ago | |
compat.py | 2 years ago | |
exceptions.py | 3 years ago | |
external_bang.py | 3 years ago | |
external_urls.py | 3 years ago | |
flaskfix.py | 3 years ago | |
languages.py | 3 years ago | |
locales.py | 3 years ago | |
preferences.py | 3 years ago | |
query.py | 3 years ago | |
results.py | 3 years ago | |
searxng.msg | 2 years ago | |
settings.yml | 2 years ago | |
settings_defaults.py | 2 years ago | |
settings_loader.py | 3 years ago | |
unixthreadname.py | 3 years ago | |
utils.py | 3 years ago | |
version.py | 3 years ago | |
webadapter.py | 3 years ago | |
webapp.py | 2 years ago | |
webutils.py | 3 years ago |