nostr-deploy-server
Version:
Node.js server for hosting static websites under npub subdomains using Nostr protocol and Blossom servers
31 lines • 849 B
TypeScript
/**
* Cache debugging utility
* Helps diagnose cache issues and verify cache behavior
*/
export declare class CacheDebugger {
/**
* Test cache operations for a specific pubkey
*/
static testPubkeyCache(pubkey: string): Promise<void>;
/**
* Test domain to pubkey mapping
*/
static testDomainCache(domain: string): Promise<void>;
/**
* Test cache statistics and health
*/
static testCacheHealth(): Promise<void>;
/**
* Monitor cache activity in real-time
*/
static startCacheMonitoring(): void;
/**
* Force cache invalidation for debugging
*/
static invalidateDebugCache(pubkey: string): Promise<void>;
/**
* Set cache to debug-friendly TTL for testing
*/
static enableDebugMode(): Promise<void>;
}
//# sourceMappingURL=cache-debug.d.ts.map