staleiferror
Stale-if-error is an HTTP Cache-Control extension directive used by caching systems to improve the availability of content when the origin server is unavailable or returns an error. It allows a cache to serve a previously stored, now stale, response to a new request under certain error conditions, rather than returning a hard failure to the client.
The directive is specified as stale-if-error=<seconds>, and is used in conjunction with other caching directives such
Example: Cache-Control: public, max-age=60, stale-if-error=3000
Support and behavior can vary by implementation. Many modern caches, CDNs, and proxy servers implement stale-if-error
Relation to other directives: stale-if-error is related to, but distinct from, stale-while-revalidate (which serves stale content