type of the cached and fetched data.
Called during the cache writing stage.
Receives the old ResponseData (passed from the ResourceHandler), the new ResponseData (processed by the cacheWillUpdate), and the StorageRequest (processed by the cacheKeyWillBeUsed)
Called during the cache fetching and cache writing stage.
Receives the request from the ResourceHandler and allows to process and output a new StorageRequest.
Called during the cache writing stage.
Receives the ResponseData to be cached and allows to process and output a new ResponseData to be cached, or null to prevent caching.
Also receives the newly processed StorageRequest from cacheKeyWillBeUsed.
Called during the cache fetching stage.
Receives the processed StorageRequest from the cacheKeyWillBeUsed and allows to process and return a new ResponseData
Called during the data fetching stage.
Receives the original request from the ResourceHandler and the processed request from the requestWillFetch and the error received from the fetcher failure.
Called during the data fetching stage.
Receives the original request from the ResourceHandler and the success response from the succeeding fetcher.
Called during the data fetching stage.
Receives the parameters from the ResourceHandler and allows to process and output a new StorageRequest.
Generated using TypeDoc
Plugins are an extension to Strategies that allows to process cached data or fetch responses.