CacheKey computes a deterministic cache key from a full URL and byte range. The URL includes scheme, host, path, and query — so different buckets, regions, or query-signed URLs naturally produce different keys.
(url, rangeHeader string)
| 64 | }) |
| 65 | cacheHardEntryLimit = promauto.NewGauge(prometheus.GaugeOpts{ |
| 66 | Name: "cache_proxy_cache_hard_entry_limit", |
| 67 | Help: "Non-configurable exact-index safety guardrail", |
| 68 | }) |
| 69 | cacheExactIndexEstimatedBytes = promauto.NewGauge(prometheus.GaugeOpts{ |
| 70 | Name: "cache_proxy_cache_exact_index_estimated_bytes", |
| 71 | Help: "Conservative estimated bytes occupied by exact-index metadata and keys", |
| 72 | }) |
| 73 | cacheOwnedBytes = promauto.NewGauge(prometheus.GaugeOpts{ |
no outgoing calls