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:

American effective altruists should probably donate to political candidates

My recommendation for donors who are American citizens or permanent residents is that they donate directly to high-value political candidates.

via Thing of Things December 28, 2025

Opinionated takes on parenting

This post is a collection of parenting takes that sometimes go through my head, based on my experience raising our two boys (5 and 2 years old). All of this is based on my experience and might not apply to others (see the law of equal and opposite advice)…

via Victoria Krakovna December 16, 2025

How to Make a Christmas Wreath

Yesterday, I made a Christmas wreath. Here's how to make one. First, find an evergreen tree near your house. Clip off a few branches from the tree. Try to have as many leaves or needles on the branches as possible. Next, bring them home. What I usu…

via Anna Wise's Blog Posts December 6, 2025

more     (via openring)