Skip to main content

Variable: CACHE_CONFIG

const CACHE_CONFIG: CacheConfigCollection

Defined in: shared/constants/cacheConfig.ts:50

Centralized cache configuration used across shared managers and services.

Remarksโ€‹

The configurations are deeply frozen to guarantee immutability when shared between Electron and renderer processes.

Exampleโ€‹

import { CACHE_CONFIG } from "shared/constants/cacheConfig";

const sitesCache = new StandardizedCache<Site>({
...CACHE_CONFIG.SITES,
eventEmitter: this.eventEmitter,
});