-
Terminology
- Cache miss occurs when no content at the cache location
- Cache fill occurs following a cache miss
- Cache is filled from the backend or a nearby cache
- Cache key is the identifier for cached content
-
Configuration
- Improve Cache Key Hit Ratio by using the entire URL
- Instance groups and objects use cache control headers
- Whitelist/blacklist query strings to limit caching
- Add headers to web server config to allow caching
- Cloud Storage objects offer per object controls
- Objects must be public (or signed URL) to be cached
- CDN does not compress / decompress content, but can serve compressed content from backend
- Set expiration for time sensitive metrics