Redis is an in-memory database that caches WordPress MySQL query results. Instead of repeated database calls, WordPress reads from RAM.
Install Redis on VPS (Ubuntu)
sudo apt install -y redis-server
sudo systemctl enable --now redis-server
redis-cli ping # PONG
✅ After connecting Redis, TTFB drops from 800ms to 80–150ms.