Try PgCache in one command
Run it on a laptop or dev machine against a Postgres you control. Your app changes one connection string.
- PostgreSQL 16, 17 or 18
- wal_level = logical
- Docker
curl -fsSL https://pgcache.com/try.sh | bash
It's plain bash: read the script before you run it, or read the source on GitHub.
What it does
- Finds your database from
DATABASE_URL, a.envfile,PG*variables or a running Postgres container. - Checks it and tells you what to fix.
- Starts PgCache in Docker.
- Prints your new connection string, and how to watch the hit rate.
Before you start
- PostgreSQL 16 or newer.
- Logical replication on:
wal_level = logical. On RDS and Aurora, setrds.logical_replication = 1in the parameter group. - A database user with the
REPLICATIONattribute and ownership of the tables, or a superuser. - Docker on the machine you run it from.
Free workload review
Bring your hit rate to a free 30-minute review with the founders. We'll estimate what PgCache would serve and save on your production database, and set up a pilot if it fits.
Book a free review →Prefer email? [email protected]
Running it for real? Docker, Compose and AWS guides