Expand description
Utility functions to help process HTTP headers for caching
Modules§
- Filters to run when sending requests to upstream
Functions§
- Calculate the expire time from the
Expires
header only - Calculate the SystemTime at which the asset expires
- Calculates stale-while-revalidate and stale-if-error seconds from Cache-Control or the CacheMetaDefaults.
- Decide if the request can be cacheable
- Decide if the response is cacheable.