Caching
Enhance performance by caching eligible responses on the edge with Cache middleware.
Optimize your domain's performance with the Cache middleware, which caches eligible responses on the edge. This middleware adheres to Cache-Control response headers for determining eligibility and cache TTL (Time to Live).
Β
The Cache middleware offers the following configuration variables:
- Cache Everything (TTL 60s): Enable this option to cache all responses for 60 seconds, even those without a Cache-Control response header.
Β
Β
Β
Β
Last updated on August 4, 2021