Skip to main content
ModPageSpeed 2.0: AVIF, WebP, and critical CSS — up to 69% less page weight on the live demo

Google PageSpeed Module alternative

If you're searching for "Google PageSpeed Module" or "PageSpeed Module" in 2026, there's a fork-in-the-road moment worth getting right. Two distinct Google products carry the "PageSpeed" name, and they do completely different things.

Production use requires a commercial license — but the software never locks you out.

WhatStatusWhat it does
PageSpeed Module (mod_pagespeed, ngx_pagespeed) Deprecated (last release 2020) Server-side optimization module that rewrites HTML/CSS/JS/images at request time
PageSpeed Insights (PSI, pagespeed.web.dev) Active Diagnostic web tool that scores a URL on performance, accessibility, SEO

The first one is the deprecated server module. The second one is a diagnostic tool that's still running and still useful. They are not the same product. The module was the fix; PSI tells you whether you need one.

The deprecated module

Google released mod_pagespeed in 2010 as an Apache module. The ngx_pagespeed nginx port followed in 2013. The original landing page lived at developers.google.com/speed/pagespeed/module and the code shipped under the Apache 2.0 license.

Google donated the project to the Apache Software Foundation in 2017. The Apache Incubator podling retired in 2023, and the GitHub repositories were marked read-only in 2025. The archived code now lives at apache/incubator-pagespeed-mod.

The archived 1.13.35.2 binaries still install and still run. They also haven't received a security patch in years, don't build against newer Apache releases, don't ship AVIF, and don't emit Core Web Vitals telemetry. For the longer answer on what happened to the project and what development resumed, see is mod_pagespeed still maintained?.

Two maintained continuations

We-Amp B.V. — founded by a mod_pagespeed maintainer — develops both. The optimization libraries that served billions of pages through Google's module are the same ones in each. They share that optimization core (PSOL) and the Cyclone cache, and they ship different deployment architectures. Pick by deployment fit.

ModPageSpeed 2.0 — container-native reverse proxy

ModPageSpeed 2.0 runs as a Docker reverse proxy in front of nginx (or any HTTP origin), with a separate worker that generates variants asynchronously and nginx serving cache hits via zero-copy mmap. The worker generates up to 37 variants per asset, including AVIF and WebP. It is a ground-up rewrite of the PageSpeed Module, and it ships native ASP.NET Core middleware.

# ModPageSpeed 2.0 - ASP.NET Core middleware
dotnet add package WeAmp.PageSpeed.AspNetCore

mod_pagespeed 1.15 — native modules for Apache, nginx, and IIS

mod_pagespeed 1.15 loads into your server as a native in-process module: no separate worker, no sidecar, no reverse-proxy hop, no container. It continues the original codebase with the same configuration syntax, the same classic filter set, and the same admin console, plus CVE patches, current toolchain, Cyclone Cache, and Apache 2.4+ support. It is the only product native inside Apache and IIS, and it is bit-compatible with open-source mod_pagespeed — swap the binary, keep the config. Image optimization covers WebP alongside JPEG, PNG, and GIF.

# Apache — mod_pagespeed 1.15 native module
LoadModule pagespeed_module modules/mod_pagespeed.so
ModPagespeed on

PageSpeed Insights is a different product

pagespeed.web.dev is Google's Lighthouse-powered diagnostic tool. It loads a URL in a headless Chrome, scores it on Core Web Vitals (LCP, INP, CLS) and a long list of best-practice audits, and returns suggestions.

PSI is not deprecated. It's still actively maintained and still the canonical reference for "does my page pass Core Web Vitals." Use it to identify problems.

PSI tells you the problem, the module fixes it

PSI and ModPageSpeed are complementary, not competing:

PSI (diagnostic)ModPageSpeed (server-side fix)
Reports LCP is 4.2 seconds Inlines critical CSS so first paint happens before non-blocking resources load
Flags "Serve images in next-gen formats" Generates WebP variants automatically (AVIF on 2.0), served by client capability
Flags "Properly size images" Generates viewport-matched variants — 480px for mobile, 1280px for desktop
Flags "Minify CSS/JS" Runs whitespace-collapsing, comment-stripping minifiers in the worker
Flags "Eliminate render-blocking resources" Defers non-critical CSS, inlines what's needed for first paint

The workflow is: PSI scores the page, ModPageSpeed applies the optimizations on the server, PSI re-scores. Repeat until the score plateaus and the remaining items are application-level work the module can't touch (third-party scripts, server response time, JS execution).

Which one fits

You're looking forUse
A server-side optimization module to fix Core Web Vitals ModPageSpeed 2.0 or mod_pagespeed 1.15
To know whether a URL passes Core Web Vitals PageSpeed Insights
BothRun PSI before and after deploying ModPageSpeed

A maintained, drop-in alternative to the Google PageSpeed module

If you arrived here because the module you were running is no longer maintained — the archived mod_pagespeed or ngx_pagespeed binaries won't build against a newer nginx or Apache, the version-pinned .so stopped loading after an upgrade, or the GitHub repositories went read-only — you're in the right place. The directly comparable alternative to the deprecated Google PageSpeed module is a maintained continuation of the same module, not a different category of tool.

That continuation is mod_pagespeed 1.15, developed by We-Amp B.V. (founded by a mod_pagespeed maintainer). It is the same optimization core, the same configuration syntax, and the same classic filter set, with ongoing CVE patches, a current toolchain, and support for current Apache 2.4+ and nginx releases. It is bit-compatible with open-source mod_pagespeed: swap the binary, keep your existing config. Native modules are available for Apache, nginx, and IIS, with Envoy experimental.

If you're standing up a new deployment rather than rescuing an old one, ModPageSpeed 2.0 is the rewrite of the same project: an nginx reverse proxy (or native ASP.NET Core middleware) with AVIF alongside WebP and variant-aware caching. Either way the lineage is continuous: these are the maintained versions of the module you were already running, kept self-hosted rather than moved behind a CDN.

Looking instead for a tool to measure a URL's score, a PageSpeed Insights or GTmetrix-style report? That's a different job, and the module isn't it. Head to our analyzer for testing intent; this page is about the server-side optimization software that fixes what those reports flag.

Frequently asked questions

Is the Google PageSpeed Module the same as PageSpeed Insights?

No. The PageSpeed Module (mod_pagespeed / ngx_pagespeed) was a server-side optimization module that rewrote HTML, CSS, JS, and images at request time. PageSpeed Insights (pagespeed.web.dev) is a diagnostic tool that scores a URL on Core Web Vitals. The first is deprecated; the second is active.

Is the Google PageSpeed Module still maintained?

No. Google donated the project to the Apache Software Foundation in 2017. The Apache Incubator podling retired in 2023, and the GitHub repositories were marked read-only in 2025. The 1.13.35.2 binaries still install but have not received security patches in years.

What replaces the Google PageSpeed Module?

Two actively-maintained continuations from We-Amp. mod_pagespeed 1.15 is the native in-process module for Apache, nginx, and IIS (Envoy experimental), with the same configuration syntax, the classic filter set, and the built-in admin console. ModPageSpeed 2.0 is the out-of-process worker behind an nginx reverse proxy, with AVIF, variant-aware caching, and zero-copy serving.

Should I still use PageSpeed Insights?

Yes. PSI is still actively maintained and remains the canonical reference for "does my page pass Core Web Vitals." Use it to identify problems; use a server-side module like ModPageSpeed to fix them.

Can ModPageSpeed fix the issues that PageSpeed Insights flags?

Most of the technical ones — yes. ModPageSpeed minifies CSS/JS, serves WebP image variants, and serves viewport-matched image sizes; 2.0 also generates AVIF variants and inlines heuristic critical CSS. The remaining items PSI flags are typically application-level (third-party scripts, slow server responses, heavy JavaScript) which a server module can't address.

What is the best Google PageSpeed module alternative in 2026?

The most direct alternative is a maintained continuation of the same module rather than a different product. mod_pagespeed 1.15 from We-Amp is bit-compatible with open-source mod_pagespeed and ngx_pagespeed: same configuration syntax, same filter set, native modules for Apache, nginx, and IIS (Envoy experimental), plus ongoing CVE patches and support for current server releases. Swap the binary and keep your existing config. For a new deployment, ModPageSpeed 2.0 is the rewrite of the same project, running as an nginx reverse proxy or ASP.NET Core middleware with AVIF and variant-aware caching.

Is there a maintained Google PageSpeed alternative that's a drop-in replacement?

Yes. Because mod_pagespeed 1.15 continues the original codebase, it is a drop-in path for stranded mod_pagespeed and ngx_pagespeed deployments: it loads as a native in-process module, uses the same directives, and runs your existing configuration unchanged. The difference from the archived Google binaries is that it builds against current Apache and nginx, receives security patches, and is actively developed. If you want measurement rather than optimization, route to /analyze instead, a separate, complementary tool.

Get ModPageSpeed

Install and run it unlicensed — it fully optimizes and just adds an X-PageSpeed-Warn: unlicensed header. When you're ready for production, buy a license.

Related

PageSpeed Module, PageSpeed Insights, and other product names are trademarks of their respective owners. Comparisons reflect publicly available information as of 2026 and are provided for evaluation; We-Amp B.V. is not affiliated with or endorsed by Google.