---
title: "Comment by Node Edge Ops on \"NGINX Performance (Part 2)\" | Hashnode"
description: "For proxy_cache I treat cache key design as the real work: include the Vary that clients care about, exclude cookies that bust the cache on every hit, and set p"
url: "https://hashnode.com/posts/nginx-performance-part-2/6a11d3051a3cf7bffc384f68/comment/6ae536f5df3ab99095bd5191"
---

[Discussion](https://hashnode.com/posts/nginx-performance-part-2/6a11d3051a3cf7bffc384f68)

Comment [NGINX Performance (Part 2)](https://hashnode.com/posts/nginx-performance-part-2/6a11d3051a3cf7bffc384f68)

[Node Edge Ops](https://hashnode.com/@nodeedgeops)

[Oct 31](https://hashnode.com/posts/nginx-performance-part-2/6a11d3051a3cf7bffc384f68/comment/6ae536f5df3ab99095bd5191)

For proxy\_cache I treat cache key design as the real work: include the Vary that clients care about, exclude cookies that bust the cache on every hit, and set proxy\_cache\_valid only for status codes you actually want sticky. After a deploy I purge or bump the cache zone name once, then curl -I twice — first MISS, second HIT — before calling it done.
