# Functions
GetGroupCachePool gets the groupcache's httppool.
InitGroupCacheRes init the resources for groupcache init this in the handler provision stage.
InitRedisClient inits the client for the redis.
NewFileBackend new a disk storage backend.
NewInMemoryBackend get the singleton of groupcache.
NewNoPreCollectError new a NoPreCollectError error.
NewRedisBackend new a redis backend for cache's storage.
NewSubscription new a subscription for file backend.
ParseRedisConfig parses the connection settings string from the caddyfile.
ReleaseGroupCacheRes releases the resources the memory backend collects.
WrapResponseWriterToBackend wrap the responseWriter to match the backend's interface.
# Structs
Base wraps the http.ResponseWriter to match the Backend interface.
FileBackend saves the content into a file.
FileReader is the common code to read the storages until the subscription channel is closed.
InMemoryBackend saves the content into memory with the groupcache.
NoPreCollectError is a custom error when there is no precollect content in memory cache.
RedisBackend saves the content into redis.
Subscription ..
# Interfaces
Backend is the cache storage backend.