io.github.rog0x/cache
Cache headers, CDN, LRU simulation for AI agents
Versions
1.0.2latestTools 5
analyze_browser_cache Analyze what resources a page would cache in the browser. Determines which resources are cacheable, for how long, cache type (strong/heuristic/conditional), and estimates bandwidth savings on repeat visits.
simulate_cache Simulate cache behavior for a sequence of requests. Calculates hit rate, miss rate, and eviction count for LRU, LFU, FIFO, and TTL eviction strategies. Compare strategies side-by-side.
analyze_cache_headers Analyze HTTP cache headers (Cache-Control, ETag, Last-Modified, Expires, Vary). Grades the caching strategy and provides actionable improvement suggestions.
generate_cache_key Generate deterministic cache keys from various inputs: URL + params, request body hash, or composite keys. Supports TTL, versioning, namespacing, and outputs ready-to-use Redis/Memcached commands.
check_cdn_headers Analyze CDN response headers to detect which CDN is serving a resource (Cloudflare, Fastly, Akamai, CloudFront, Vercel, etc.), cache status (HIT/MISS), edge server, and POP location.
Permissions 0
No permissions indexed yet.