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:

Linkpost for July

Effective Altruism

via Thing of Things July 3, 2026

Agentic test processes, LLM benchmarks, and other notes on agentic coding from Galapagos Island

I've been using AI fairly heavily since last November and the whole thing is a funny experience. An agent will do something that, if a human did it, you'd immediately fire them. My reaction, of course, is to act as if this is great and spin up a t…

via Posts on July 3, 2026

Variable fonts aren't universally supported

I make a lot of webpages. I also use Lockdown Mode on iOS and MacOS for a bit of extra security. Sometimes I realize that I forgot to test on Safari and it looks like crap, or I test and don’t notice that there’s been a problem for months (as was the case…

via Home June 27, 2026

more     (via openring)