MCPcopy
hub / github.com/http-party/http-server / cache

Function cache

test/cache.test.js:64–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62 server = http.createServer(ecstatic({
63 root: `${__dirname}/public/`,
64 cache() {
65 i += 1;
66 return i;
67 },
68 }));
69 } catch (e) {
70 t.fail(e.message);

Callers 1

serveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…