3. Agenda
• Brief Overview of Basic Caching Directives
• HA Caching Architectures
• Byte Range Request Caching
• Advanced Cache Control Using NGINX Plus
14. proxy_cache_use_stale
proxy_cache_use_stale error timeout http_500
http_502 http_503 http_504;
Determines in which cases a stale cached response can be used when an error
occurs to the proxied server.
Default: proxy_cache_use_stale off;
Context: http, server, location
15. “Woah.. I know NGINX…”
Learn MOAR here: https://www.nginx.com/blog/nginx-caching-guide/
22. Consistent Hash Architecture
• Hash based on proxy_cache_key
• Shard(ed) cache
• Effective use of storage
• Reduces Impact but can be costly to implement