Experimental fetch cache for Deno. API subject to change!
import {Diplodocache} from 'jsr:@ssr/diplodocache';
const cache = new Diplodocache({
cachePath: '/path/to/directory'
});
const url = new URL('https://example.com/download.zip');
const response = await cache.fetch(url);
MIT License | Copyright ยฉ 2024 David Bushell