Adding a cache for faster searching coding question #3340
Replies: 1 comment
-
It's a privacy focused search engine and the developers do not want to store user data. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
[Caching for SearXNG]. A cache could work by making a directory in the searx folder named cache and make sub-folders in the cache directory from a to z and 0 to 9. Name the cache files after the search term, check filename exists when a search is performed. If there is a match read in the local file instead and avoid the search, send the keywords to the maintainers so they can update the cache. They can then crawl the search engines and build a more comprehensive cache.
Proposed searXNG options: use cache, update the cache, disclosure to end user
Benefits: turns searXNG into a full search engine built from caching results, searches are against a local file, so it speeds up searching significantly, offline searching if the cache gets big enough
Beta Was this translation helpful? Give feedback.
All reactions