NGINX Compression Vary: Fix Broken Vary Headers
The NGINX compression vary module is a drop-in replacement for the standard gzip_vary directive. It fixes a long-standing problem with how NGINX handles the Vary response header when compression is active.
When you enable compression in NGINX, the gzip_vary on directive adds Vary: Accept-Encoding to tell caches that the response differs based on encoding. However, this directive has a significant…



