@eweilow/stale-while-revalidate
A very simple stale-while-revalidate module with built-in batching
Usage no npm install needed!
<script type="module">
import eweilowStaleWhileRevalidate from 'https://cdn.skypack.dev/@eweilow/stale-while-revalidate';
</script>