gitea/modules/cache
KN4CK3R a2651c14ce
Add cache for common package queries (#22491)
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 (#30417) 2024-04-13 08:38:44 +00:00
cache_test.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
cache_twoqueue.go Refactor cache and disable go-chi cache (#30417) 2024-04-13 08:38:44 +00:00
cache.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
context_test.go Add cache for common package queries (#22491) 2025-04-13 09:40:36 +00:00
context.go Add cache for common package queries (#22491) 2025-04-13 09:40:36 +00:00
ephemeral.go Add cache for common package queries (#22491) 2025-04-13 09:40:36 +00:00
string_cache.go Refactor cache and disable go-chi cache (#30417) 2024-04-13 08:38:44 +00:00