slonik-redis-cache

v1.0.0
declarative caching with Redis and PostgreSQL
PostgreSQL redis slonik

Slonik-redis-cache

Declarative caching for PostgreSQL with redis

Background

Gajus Kuizinas wrote a post on dev.to called "A declarative way to cache PostgreSQL queries using Node.js" that outlined a great pattern for caching with the Slonik PostgreSQL client library. This is an implementation of that pattern that caches not with a local cache but with Redis.

npm i slonik-redis-cache

Metadata

  • MIT
  • Whatever
  • Kyle Davis
  • released 3/2/2020

Downloads

Maintainers