DeterministicESPAsyncWebServer v6.28.0
Zero-allocation, bounded-execution async HTTP server for ESP32
Loading...
Searching...
No Matches
edge_cache_proxy.h File Reference

CDN edge-cache tier - server glue (DETWS_ENABLE_EDGE_CACHE). More...

#include "ServerConfig.h"

Go to the source code of this file.

Detailed Description

CDN edge-cache tier - server glue (DETWS_ENABLE_EDGE_CACHE).

Wires the pure engine (edge_cache) + async fetch (edge_fetch) into a DetWebServer: registers the cache as a middleware and installs the async-fetch poll hook, maps request path prefixes to upstream origins (fetched over det_client), and serves hits with the constant-memory send-pump. A miss or a stale-entry revalidation suspends the client request and drives the origin fetch from the slot's poll, so the worker never stalls; every failure path fails open. Purge + stats round it out.

Author
Douglas Quigg (dstroy0)
Date
2026

Definition in file edge_cache_proxy.h.