Skip to content

@express-route-cacheTanStack Query for the Backend.

Production-grade, drop-in route caching for Express.js with O(1) invalidation, SWR, and Stampede Protection.

express-route-cache Logo

๐Ÿš€ Why express-route-cache? โ€‹

Existing Express caching middlewares often fail in production because they lack critical features like efficient invalidation or background refreshing. @express-route-cache solves these by bringing modern data-fetching patterns to the server.

  • Zero Configuration: Sensible defaults that work out of the box.
  • Enterprise Ready: Designed for high-throughput, distributed environments.
  • Developer Experience: Modern TypeScript API with predictable behavior.
  • Performance First: O(1) operations ensure your Node.js event loop stays responsive.

๐Ÿ›  Built With โ€‹

TypeScript ยท Express.js ยท Redis ยท Memcached ยท Ioredis ยท Memjs


โค๏ธ Support the Project โ€‹

If @express-route-cache has saved you time, please consider giving us a star on GitHub! It helps us reach more developers and continue improving the project.

Released under the MIT License.