Background:
Cache key generation happens on each cacheable read request and is currently string-heavy.
Problem:
internal/core/cache/manager.go key construction uses multiple allocations for canonical value assembly and hashing path, which is a hot cost under load.
Scope:
Tasks:
Acceptance Criteria:
- Lower allocs/op and ns/op on key generation benchmarks.
- No cache key correctness regressions for existing configurations.
- Existing cache safety rules remain intact.
Background:
Cache key generation happens on each cacheable read request and is currently string-heavy.
Problem:
internal/core/cache/manager.go key construction uses multiple allocations for canonical value assembly and hashing path, which is a hot cost under load.
Scope:
Tasks:
Acceptance Criteria: