Proxy Caching Advanced Policy

Cache responses with Redis

Cache responses to GET requests with a 200 response code in Redis. The keepalive_pool_size setting keeps a maximum of 50 concurrent connections open.

Environment variables

  • REDIS_HOST: The hostname of your Redis database.

Set up the policy

Attach the policy

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!