Preparing for system design interviews?  Try bugzed.com →

pg-cache

JSON →
library 3.12.0 ·javascript
verified Jun 7, 2026

PostgreSQL connection pool with built-in LRU cache management for Node.js. Version 3.12.0 provides a hybrid pool+cache layer that maintains connections via pg-pool while caching query results using an LRU strategy with configurable TTL and max entries. It automatically evicts stale data, supports parameterized queries, and integrates with TypeScript. Compared to raw pg-pool, pg-cache adds transparent result caching and cache invalidation hooks, reducing repeated DB hits without requiring a separate cache like Redis. Released under active development with monthly updates.

total hits 10
actors 3 distinct systems
last hit 11d ago AhrefsBot
GPTBot
3
Humans
5

top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇪🇸 Spain · 🇫🇷 France · 🇨🇦 Canada