sw-toolbox

A collection of service worker tools for offlining runtime requests

  • SW Toolbox
  • API
  • Usage
  • SW Toolbox Recipes

Cache Expiration

Demonstrates using the maxEntries and maxAgeSeconds options to limit the number and age of entries stored in a cache dedicated to images fetched from an API.

View Recipe

image/svg+xml Group 3 Group 3 Created with Sketch.