ngx_pagespeed

October 16th, 2012
nginx, ngx_pagespeed, pagespeed
As a webmaster, you can make your site load much faster with manual optimization. You can replace the images with ones that are compressed to just the right balance of visual clarity and small file size. You can inline small images, turning <img src="tiny-image.jpg"> into <img src="data:image/jpeg;base64,/9j/4AAQSkZJR...">. You can minify your javascript, css, and html so there's no whitespace or other unneeded characters. You can do this, but it's a lot of work and you need to learn a lot about web performance to do it well. Alternately, if you're using Apache, you can install mod_pagespeed to automatically apply these and other optimizations to your site.

But what if you're using nginx? While it's only the #2 server, behind Apache, it's disproportionately popular among people who care about speed. So: I'm working on an nginx port: ngx_pagespeed.

Referenced in:

Comment via: google plus, facebook, substack

Recent posts on blogs I like:

Ozy at LessOnline!

I will once again be a guest at LessOnline, alongside many other writers whom you no doubt like less than you like me: Scott Alexander, dynomight, Georgia Ray, David Friedman, Nicholas Decker, Jacob Falkovich, Kelsey Piper, Alicorn, Aella, etc.

via Thing of Things March 23, 2026

Daycares and the Brown School

As someone in Somerville I notice that there are quite high prices regarding childcare. The average family in Somerville pays $1,100 to $3,500 for daycare per month, and I want to make the costs more affordable. I have also noticed that housing is quite …

via Lily Wise's Blog Posts March 22, 2026

2025-26 New Year review

This is an annual post reviewing the last year and setting intentions for next year. I look over different life areas (work, health, parenting, effectiveness, etc) and analyze my life tracking data. Highlights include a minimal group house, the usefulness…

via Victoria Krakovna January 19, 2026

more     (via openring)