/diplodocache

(RETIRED) 💾 Experimental fetch cache for Deno

Primary LanguageTypeScriptMIT LicenseMIT

(RETIRED) Do not use this project was binned.


💾 Diplodocache

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