Marten::CDNCache
CDN-friendly cache-control middleware for Marten.
Sets Cache-Control per a route/path policy and strips Set-Cookie on
public responses so a CDN (Cloudflare/CloudFront) will cache them. The
default is conservative — private, no-store — and routes opt INTO public
caching via settings rules or handler concerns.
Constants
VERSION = "0.1.2"
Class methods
Resolves a parameterless named route to its handler class. Returns nil if the route does not exist or cannot be reversed without parameters.
settings
Typed accessor for this shard's settings namespace.