feat(cache): implement HTTP cache feature with configurable options #41

Merged
rcsheets merged 2 commits from feat/cache into main 2025-06-27 20:01:54 +00:00
rcsheets commented 2025-06-27 19:56:57 +00:00 (Migrated from github.com)
  • Introduced CacheConfig structure to manage cache settings including ETag, Last-Modified, and Cache-Control headers.
  • Added support for cache policies with configurable max-age values for different content types.
  • Implemented gradual rollout of cache features based on user percentage and path prefixes.
  • Enhanced server logic to apply caching based on feature flags and handle conditional requests.
  • Added comprehensive documentation for cache feature flags and performance testing scripts.
  • Included sample configuration files for enabling/disabling cache and testing rollout scenarios.

This feature enhances performance by reducing load on GCS and improving response times for cached content.

- Introduced CacheConfig structure to manage cache settings including ETag, Last-Modified, and Cache-Control headers. - Added support for cache policies with configurable max-age values for different content types. - Implemented gradual rollout of cache features based on user percentage and path prefixes. - Enhanced server logic to apply caching based on feature flags and handle conditional requests. - Added comprehensive documentation for cache feature flags and performance testing scripts. - Included sample configuration files for enabling/disabling cache and testing rollout scenarios. This feature enhances performance by reducing load on GCS and improving response times for cached content.
Sign in to join this conversation.
No description provided.