Documentation
¶
Overview ¶
Package cachettl resolves the cache TTL for a given route group, loaded once at startup from the CACHE_TTLS env var so slower-changing entities and faster-changing ones aren't forced onto the same cache policy.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config resolves a per-route-group TTL, falling back to a configured default for any route group without an explicit entry.
Click to show internal directories.
Click to hide internal directories.