v0.39.2
This commit is contained in:
1 parent
5b2eaaff61
commit
3b5fc8dce1
5 files changed
+175
-2
No files matched your search
+10
-1
@@ -343,7 +343,16 @@ Server-Timing: proxy;dur=2.31, upstream;dur=1.94, proxy-cache;desc="MISS"
|
||||
|
||||
Authenticated Cache page/API operations can purge selected entries, domains or larger scopes. The optional public HTTP `PURGE`/`BAN` interface is **disabled by default**. Enable it only by listing trusted client IPs/CIDRs under **Settings → Cache → HTTP BAN / PURGE IP allowlist**; operations are additionally subject to Vhost binding and normal access controls. `PURGE` addresses an exact URL; `BAN` applies the supported bounded matching rules. Never allow untrusted Internet clients to purge all tenants' objects.
|
||||
|
||||
Changing operational Vhost settings is intended to preserve compatible HOT/COLD objects; content-affecting changes invalidate affected scopes and COLD carries an additional fingerprint against stale resurrection. **This new behavior still needs release-level verification**, so validate cache after configuration edits and during upgrades. Earlier persistent cache entries may need refilling following format/compatibility transitions.
|
||||
Which configuration saves invalidate stored objects:
|
||||
|
||||
| Change | Effect on HOT/COLD |
|
||||
|---|---|
|
||||
| Global cache **tuning**: memory and object limits (`max_bytes`, `max_entries`, `max_object_bytes`, `transient_max_bytes`, `cold_queue_max_bytes`, `hot_eviction_max_objects`), HOT auto-trim, COLD demotion/GC/limits (`cold_after_seconds`, `cold_on_*`, `cold_max_*`, `cold_gc_*`), request coalescing (`collapse_*`), `stale_if_error_*`, proactive refresh, memory/COLD presets, diagnostic headers, `via_header`, bypass paths/query, HTTP invalidation CIDRs | **Nothing is purged** (since 0.39.2). New values apply to the next requests; a lowered memory/entry limit evicts least-recently-used objects immediately. |
|
||||
| Global **representation or privacy** settings: cache on/off, `varnish_compatible`, TTL/grace, static Cookie options and extensions, global cache rules, `cold_enabled`/`cold_path`, transformations, global headers/forwarding, Web Services, PHP-FPM profiles | **All** HOT/COLD objects of every Vhost are invalidated. |
|
||||
| Vhost content settings: hosts, routes, backends' URLs, Vhost cache settings and rules | Only that Vhost's objects are invalidated. |
|
||||
| Vhost operational settings: TLS, ACL, rate limit, timeouts, load balancing, weights/health checks, authentication, diagnostic headers | Nothing is purged. |
|
||||
|
||||
COLD entries carry the same fingerprint, so after a restart objects survive tuning-only changes and are discarded after representation/privacy changes. Validate the cache after configuration edits and during upgrades; earlier persistent cache entries may need refilling following format/compatibility transitions.
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
|
||||
Reference in new issue
Block a user