v0.38.2
This commit is contained in:
1 parent
758cfd6274
commit
8bdec5c757
32 files changed
+418
-44
No files matched your search
@@ -2,6 +2,13 @@
|
||||
|
||||
Release history focused on **features, settings, default behavior, compatibility and fixes**. Changes to internal code structure and preliminary performance experiments are intentionally omitted. Historical descriptions reflect their respective releases; consult the current documentation for the settings available in the latest release.
|
||||
|
||||
## 0.38.2 — Server-Timing, STALE and REVALIDATED
|
||||
|
||||
- **Server-Timing is appended, not replaced:** on a MISS or BYPASS the origin's own `Server-Timing` metrics (`db;dur=…`, `app;dur=…`) now reach the client, with RustProxy's field after them; before, RustProxy removed them. Several RustProxy hops each append their own field. On a response served from the cache the stored origin metrics are removed, also when timing headers are off, because they described the request that filled the cache.
|
||||
- **Metric names for a reverse proxy:** `proxy;dur`, `upstream;dur` and `proxy-cache;desc` (before: `proxy`, `origin`, `cache`). They no longer collide with a CDN in front of RustProxy (`origin` there means RustProxy) or with an application's own `cache` metric. The vhost option `timing_header_names` (panel: **Server-Timing metric names**) also offers `cdn` (`edge`, `origin`, `cdn-cache`, the Akamai mPulse names, for RustProxy as the outermost layer) and `legacy` (the previous names).
|
||||
- **Timing-Allow-Origin:** new vhost option `timing_allow_origin` (origins or `*`) lets scripts on other origins, such as a RUM collector or an assets domain, read Server-Timing.
|
||||
- **STALE and REVALIDATED:** responses served from cache past freshness (grace, stale-while-revalidate, max-stale, stale-if-error, collapse timeout) and cached objects confirmed by the origin with 304 are now told apart from plain hits. The Server-Timing cache metric and the access-log `cache` field (log filter, `rust-proxy logs`, `/api/logs?cache=`) report `STALE` / `REVALIDATED` instead of `HIT`. `X-Cache` does so with the new option **X-Cache shows STALE and REVALIDATED instead of HIT** (`cache.expose_detailed_status`, global and per vhost, off by default). The Cache dashboard counts them as HIT for the hit ratio and shows them on the request line; `/api/cache` has `stale` and `revalidated` per domain. See [Cache](docs/CACHE.md#detailed-cache-status-stale-and-revalidated).
|
||||
|
||||
## 0.38.1 — built-in dashboard presets and matching fixes
|
||||
|
||||
- **Path prefixes with a trailing slash:** a cache bypass prefix or forced-cache target written as `/api/` now also matches the paths below it (`/api/health`); before, it matched only the exact path `/api/`, so such responses were cached when their headers allowed it. `/api` (without the slash) already covered `/api` and `/api/…` and still does not match `/apix`.
|
||||
|
||||
Reference in new issue
Block a user