amp-toolbox-cache-list0.1.6 • Public • Published
AMP-Toolbox Cache List
Lists known AMP Caches, as available at
By default, it uses a one-behind strategy to fetch the caches. This can be customised by passing a custom fetch strategy to the constructor.
const Caches = ;// Lists known AMP Cachesconst caches = await ;// Retrieves a specific AMP cacheconst googleAmpCache = await caches;