Diagnostics โ browser-reported network errors (NEL) and Worker
log aggregations.
NEL โ Network Error Logs (browser-reported)
No NEL reports in window.
NEL only fires when the visiting browser has the NEL + Report-To response headers configured
and a network failure occurs (DNS error, TLS handshake failure, TCP
reset, 5xx, etc.). It can take 12โ48h to see meaningful data after
enabling.
Worker logs โ top messages from tmat-cache-saas
No log events in window.
How to surface cache BYPASS reasons here
Have the cache worker emit one structured line per request that wasn't served from cache, e.g.:
console.log(JSON.stringify({
event: "cache_decision",
status: "BYPASS",
reason: "html-with-cookie",
host, path, ua
})); Once that's deployed, reasons will aggregate here. The endpoint
also accepts ?groupBy=$workers.outcome or other
structured fields.