searxng/searx/templates/simple/preferences
Markus Heiser 7ab577a1fb [mod] Revision of the favicon solution
All favicons implementations have been documented and moved to the Python
package:

    searx.favicons

There is a configuration (based on Pydantic) for the favicons and all its
components:

    searx.favicons.config

A solution for caching favicons has been implemented:

    searx.favicon.cache

If the favicon is already in the cache, the returned URL is a data URL [1]
(something like `data:image/png;base64,...`).  By generating a data url from
the FaviconCache, additional HTTP roundtripps via the favicon_proxy are saved:

    favicons.proxy.favicon_url

The favicon proxy service now sets a HTTP header "Cache-Control: max-age=...":

    favicons.proxy.favicon_proxy

The resolvers now also provide the mime type (data, mime):

    searx.favicon.resolvers

[1] https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URLs

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-05 08:18:28 +02:00
..
answerers.html [fix] simple template: macro checkbox_onoff_reversed 2024-09-21 15:23:21 +02:00
autocomplete.html [mod] template preferences: split into elements (no functional change) 2023-06-02 19:05:43 +02:00
center_alignment.html [fix] Removes `/>` ending tags for void HTML elements 2024-09-21 15:23:21 +02:00
cookies.html [fix] Removes `/>` ending tags for void HTML elements 2024-09-15 15:19:51 +02:00
doi_resolver.html [mod] template preferences: split into elements (no functional change) 2023-06-02 19:05:43 +02:00
engines.html [feat] preferences: button to enable/disable all engines 2024-04-27 18:26:23 +02:00
favicon.html [mod] Revision of the favicon solution 2024-10-05 08:18:28 +02:00
footer.html [fix] Removes `/>` ending tags for void HTML elements 2024-09-15 15:19:51 +02:00
hotkeys.html [mod] preferences: implement drop-down menu for hotkeys (default, vim) 2023-09-19 08:06:06 +02:00
image_proxy.html [fix] Removes `/>` ending tags for void HTML elements 2024-09-21 15:23:21 +02:00
infinite_scroll.html [fix] simple template: add ID to elements used for aria-labelledby 2024-09-21 15:23:21 +02:00
language.html [mod] UX: flush flag icon to right in language select option values 2024-07-14 16:39:50 +02:00
method.html [fix] URL percent-encoding in translations fail in babel 2023-06-02 20:30:41 +02:00
query_in_title.html [fix] Removes `/>` ending tags for void HTML elements 2024-09-21 15:23:21 +02:00
results_on_new_tab.html [fix] Removes `/>` ending tags for void HTML elements 2024-09-21 15:23:21 +02:00
safesearch.html [mod] template preferences: split into elements (no functional change) 2023-06-02 19:05:43 +02:00
search_on_category_select.html [fix] simple template: add ID to elements used for aria-labelledby 2024-09-21 15:23:21 +02:00
theme.html [feat] simple theme: pure black theme style 2024-10-03 10:53:17 +02:00
tokens.html [fix] Removes `/>` ending tags for void HTML elements 2024-09-21 15:23:21 +02:00
ui_locale.html [mod] template preferences: split into elements (no functional change) 2023-06-02 19:05:43 +02:00