Ponysearch/searx/static/themes/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
..
css [build] /static 2024-10-03 11:05:46 +02:00
img [mod] Revision of the favicon solution 2024-10-05 08:18:28 +02:00
js [build] /static 2024-08-15 18:58:28 +02:00
src [feat] add favicons to result urls 2024-10-05 08:18:28 +02:00
.eslintrc.json [fix] remove duplicate key in simple theme ESLint configuration 2023-03-05 09:12:13 +01:00
.gitattributes theme: remove __common__ 2022-05-07 19:40:48 +02:00
.gitignore [themes] ignore packages-lock.json 2021-06-22 08:17:06 +02:00
.jshintrc [emacs] .dir-locals.el: add setup for js-mode 2021-06-24 13:27:21 +02:00
.stylelintrc.json [mod] simple theme: change stylelint configuration 2022-01-16 18:50:19 +01:00
gruntfile.js [fix] ionic.io/ionicons - add back missing class="ionicon" 2024-04-27 09:33:20 +02:00
package.json [upd] npm: Bump eslint in /searx/static/themes/simple 2024-04-12 18:11:42 +02:00
svg4favicon.svgo.js [enh] add SVG favicon href="favicon.svg" type="image/svg+xml" 2021-11-29 20:36:31 +01:00
svg4web.svgo.js [fix] eslint --fix 2021-12-14 07:31:58 +01:00