workbox-expiration

A service worker helper library that expires cached responses based on age or maximum number of entries.

Usage no npm install needed!

<script type="module">
  import workboxExpiration from 'https://cdn.skypack.dev/workbox-expiration';
</script>