Skip to main content

How Not to Write an NGINX Module: A WebP Case Study


by Danila Vershinin, April 5, 2026

A deep technical analysis of ngx_webp – an NGINX module that converts images to WebP on-the-fly. It works, but violates nearly every principle of NGINX module development. We dissect what went wrong and show how to do it right.

Read More...

How to Serve WebP Images Automatically with NGINX: Complete 2026 Guide


by Danila Vershinin, January 19, 2026

Learn how to automatically serve WebP images with NGINX to supporting browsers while falling back to JPEG/PNG for others. Covers content negotiation, the Vary header, on-the-fly conversion with nginx-module-webp, and the PageSpeed module.

Read More...