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.
searxng/utils
Markus Heiser 51bcd95a75 [fix] harmonize default settings for caching of /static files
Caching files on the client side for more than a day can confuse the end user
when updating static files[1].

Depending on the way of providing a SearXNG instance via HTTP, there are several
ways to optimize the access to the /static files.  However, since we don't know
what optimization an admin has provided for his static files, we should have
moderate settings in the defaults that run robustly in a wide variety of
installations.

In this sense, all caches on the client side should be cleared after one day at
the latest.  So far the files were cached for one year on client side; as soon
as changes are made to the static files (with the option `static_use_hash:
true`) the old static files are kept for one year on the CLient side / which can
also be evaluated as unnecessary caching.

[1] https://github.com/searxng/searxng/discussions/2821

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
1 year ago
..
templates [fix] harmonize default settings for caching of /static files 1 year ago
brand.env [fix] accidentally pushed utils/brand.env 1 year ago
build_env.py [fix] spelling 1 year ago
filtron.sh [mod] fix minor leftovers from PR #1332 2 years ago
lib.sh Fix checksum virtualenv checks. 2 years ago
lib_go.sh [doc] improve documentation of make targets and ./manage script 1 year ago
lib_nvm.sh [fix] make nvm.env exit with error when VERBOSE is unset 2 years ago
lib_redis.sh [utils/searxng.sh] implement new script to install SearXNG 2 years ago
lib_sxng_data.sh [doc] improve documentation of make targets and ./manage script 1 year ago
lib_sxng_node.sh [doc] improve documentation of make targets and ./manage script 1 year ago
lib_sxng_static.sh [fix] typos in documentation & messages 1 year ago
lib_sxng_test.sh [doc] improve documentation of make targets and ./manage script 1 year ago
lib_sxng_themes.sh [doc] improve documentation of make targets and ./manage script 1 year ago
lib_sxng_weblate.sh [doc] improve documentation of make targets and ./manage script 1 year ago
lxc-searxng.env [doc] update & fix documentation of the "SearXNG LXC suite" 1 year ago
lxc.sh [LXC] ubuntu 21.10 upgrade to ubuntu 22.04 LTS [1] 2 years ago
makefile.include [mod] replace makefile boilerplate by 'manage' script 3 years ago
makefile.lxc [mod] LXC_ENV_FOLDER moved from ./lxc to ./lxc-env 4 years ago
morty.sh [mod] fix minor leftovers from PR #1332 2 years ago
searx.sh [fix] typos in documentation & messages 1 year ago
searxng.sh Revert "[mod] activate limiter & link_token method (aka CSS ping) by default" 1 year ago
searxng_check.py move searx.shared.redisdb to searx.redisdb 2 years ago