1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-15 01:00:12 +01:00
searxng/searx/templates/simple
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
..
elements [fix] Removes `/>` ending tags for void HTML elements 2024-09-15 15:19:51 +02:00
filters [fix] fix issues in the language menue introduced by PR #3645 2024-07-28 10:46:11 +02:00
messages [mod] simplify no results on pages > 1 to "There are no more results." 2023-12-23 09:50:39 +01:00
preferences [mod] Revision of the favicon solution 2024-10-05 08:18:28 +02:00
result_templates [fix] Removes `/>` ending tags for void HTML elements 2024-09-15 15:19:51 +02:00
404.html Drop Python 2 (2/n): templates 2020-09-10 10:39:04 +02:00
base.html [fix] Removes `/>` ending tags for void HTML elements 2024-09-15 15:19:51 +02:00
categories.html [fix] Removes `/>` ending tags for void HTML elements 2024-09-15 15:19:51 +02:00
icons.html [fix] ionic.io/ionicons - add back missing class="ionicon" 2024-04-27 09:33:20 +02:00
index.html Workaround: index.html: remove image preload 2022-06-18 09:04:13 +02:00
info.html Theme: add Help and Donate links in all pages 2022-06-25 20:31:40 +02:00
macros.html [mod] Revision of the favicon solution 2024-10-05 08:18:28 +02:00
new_issue.html [refactor] simple theme: *.less - replace hardcoded colors 2024-10-03 11:05:46 +02:00
opensearch_response_rss.xml theme: remove __common__ 2022-05-07 19:40:48 +02:00
opensearch.xml [fix] opensearxh.xml: firefox v123 does not except self-URI (URL with param) 2024-02-25 07:33:04 +01:00
page_with_header.html [mod] template preferences: split into elements (no functional change) 2023-06-02 19:05:43 +02:00
preferences.html [feat] add favicons to result urls 2024-10-05 08:18:28 +02:00
results.html [fix] Removes `/>` ending tags for void HTML elements 2024-09-15 15:19:51 +02:00
search.html solve #2839 2023-09-25 23:01:14 +02:00
searxng-wordmark.min.svg theme: remove __common__ 2022-05-07 19:40:48 +02:00
simple_search.html Merge pull request #1004 from MontyQI/search_url 2022-03-26 17:08:50 +01:00
stats.html [fix] spelling 2023-09-18 16:20:27 +02:00