Constructor

CacheExpirationPlugin

new CacheExpirationPlugin()

Example

const plugin = new workbox.cacheExpiration.CacheExpirationPlugin({
  maxEntries: 2,
  maxAgeSeconds: 10,
});