MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / deleteCache

Function deleteCache

packages/redis/cachable.ts:6–8  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

4export { LRUCache } from 'lru-cache';
5
6export const deleteCache = (key: string) => {
7 return getRedisCache().del(key);
8};
9
10// Global LRU cache for getCache function
11const globalLruCache = new LRUCache<string, any>({

Callers

nothing calls this directly

Calls 1

getRedisCacheFunction · 0.90

Tested by

no test coverage detected