Skip to main content

NGINX CDN Loop Detection: Prevent Request Loops


by Danila Vershinin, March 14, 2026

Learn how to prevent infinite request loops in NGINX CDN and reverse proxy configurations using the loop detect module. This module implements RFC 8586’s CDN-Loop header to track request hops and automatically block runaway loops before they consume server resources.

Read More...

NGINX Compression Vary: Fix Broken Vary Headers


by Danila Vershinin, March 2, 2026

The NGINX compression_vary module replaces the standard gzip_vary directive with smarter Vary header handling. It merges multiple Vary headers into one, removes duplicates, and properly appends Accept-Encoding — preventing CDN cache fragmentation and improving caching efficiency across gzip, Brotli, and Zstandard compression.

Read More...

NGINX Query String Normalization with sorted-args Module


by Danila Vershinin, February 17, 2026

Improve NGINX cache hit rates by normalizing query string parameter order. The sorted-args module eliminates cache fragmentation caused by tracking codes, parameter reordering, and cache-busting parameters.

Read More...

EPEL powered by Cloudflare CDN. Fix your sanity


by Danila Vershinin, September 9, 2021

A simple recipe against a disaster. Here’s to make EPEL repository faster, by leveraging Cloudflare CDN

Read More...

How to use multiple real IP headers with NGINX


by Danila Vershinin, July 10, 2018

How to pass real visitor IPs in nginx from two different cloud services.

Read More...

CDN for WordPress


by Danila Vershinin, October 5, 2017

CDN for Wordpress. Do you need one? Yes, you do!

Read More...