feat: caching settings #32

Merged
fauno merged 1 commits from caching into main 2026-06-05 13:49:37 +00:00
Owner
https://forgejo.org/docs/latest/admin/config-cheat-sheet/#cache-cache
fauno added 1 commit 2026-05-15 20:01:32 +00:00
fauno requested review from p4u1 2026-05-15 20:01:32 +00:00
p4u1 approved these changes 2026-05-16 08:00:03 +00:00
@@ -38,6 +38,9 @@ GITEA_ENABLE_PUSH_CREATE_USER=false
GITEA_ENABLE_PUSH_CREATE_ORG=false
GITEA_LFS_START_SERVER=false
GITEA_MAX_CREATION_LIMIT=-1
GITEA_CACHE_ADAPTER=memory
Owner

Is memory the default value? I wonder if there is a use case where someone wants to disable the cache

Is memory the default value? I wonder if there is a use case where someone wants to disable the cache
Author
Owner

yeah it's the default, as i understand it's a key+val+ttl, the next in-memory option is twoqueue which adds lru. then you jump to redis or memcached

yeah it's the default, as i understand it's a key+val+ttl, the next in-memory option is twoqueue which adds lru. then you jump to redis or memcached
fauno merged commit 850a08f42f into main 2026-06-05 13:49:37 +00:00
fauno deleted branch caching 2026-06-05 13:49:37 +00:00
Sign in to join this conversation.