CachingHttpHandler
Pennington.Infrastructure
Caches GET responses from the in-process crawl in BuildHtmlCache so the disk-write pass and the search/llms.txt sidecars share one render per URL. Installed by HttpDispatcher as the outer handler over the TestServer/Kestrel client. Non-GET requests and the 404 sentinel pass straight through uncached.
Constructors
CachingHttpHandler
#public CachingHttpHandler(BuildHtmlCache cache)
Initializes the handler over the shared cache.
Parameters
cacheBuildHtmlCache
Pennington.Infrastructure.CachingHttpHandler
namespace Pennington.Infrastructure;
/// Caches GET responses from the in-process crawl in BuildHtmlCache so the disk-write pass and the search/llms.txt sidecars share one render per URL. Installed by HttpDispatcher as the outer handler over the TestServer/Kestrel client. Non-GET requests and the 404 sentinel pass straight through uncached.
public class CachingHttpHandler
{
/// Initializes the handler over the shared cache.
public CachingHttpHandler(BuildHtmlCache cache)
;
}