mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
The queries being done on the package search page are quite costly. (Especially the default one ordered by "Popularity" when navigating to /packages) Let's add the search results to the Redis cache: Every result of a search query is being pushed to Redis until we hit our maximum of 50k. An entry expires after 3 minutes before it's evicted from the cache. Lifetime an Max values are configurable. Signed-off-by: moson-mo <mo-son@mailbox.org> |
||
---|---|---|
.. | ||
__init__.py | ||
accounts.py | ||
auth.py | ||
html.py | ||
packages.py | ||
pkgbase.py | ||
requests.py | ||
rpc.py | ||
rss.py | ||
sso.py | ||
trusted_user.py |