1
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-05-01 13:15:20 +00:00
gitea/modules/cache
KN4CK3R a2651c14ce
Add cache for common package queries ()
This adds a cache for common package queries in `GetPackageDescriptor`.
Code which needs to process a list of packages benefits from this
change. This skips 350 queries in the package integration tests for
example.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-04-13 09:40:36 +00:00
..
cache_redis.go Refactor cache and disable go-chi cache () 2024-04-13 08:38:44 +00:00
cache_test.go Enable addtional linters () 2025-04-01 10:14:01 +00:00
cache_twoqueue.go Refactor cache and disable go-chi cache () 2024-04-13 08:38:44 +00:00
cache.go Enable addtional linters () 2025-04-01 10:14:01 +00:00
context_test.go Add cache for common package queries () 2025-04-13 09:40:36 +00:00
context.go Add cache for common package queries () 2025-04-13 09:40:36 +00:00
ephemeral.go Add cache for common package queries () 2025-04-13 09:40:36 +00:00
string_cache.go Refactor cache and disable go-chi cache () 2024-04-13 08:38:44 +00:00