cache
The cache
plugin uses the Cache API to save content in visitor’s browser for later use (when offline or when the website is down for whatever reason, for instance).
As a stashing plugin, it is handled in a special way by LibResilient:
cache
returns a successful response, the cache
plugin caches it for later use.cache
succeeds, cache
returns the cached response; afterwards, plugins configured after cache
are run in the background to try retrieving a fresher response; if any of them succeeds, cache
plugin caches it for later use.The cache
plugin does not have any configuration options.