mod_pagespeed 1.15 · Apache
Apache PageSpeed module
The Apache PageSpeed module — mod_pagespeed — maintained
again. mod_pagespeed 1.15 is the commercially supported continuation of Google's open-source mod_pagespeed: the same
ModPagespeed directives and the same filters, rebuilt against current
dependencies with ongoing security patches. It loads as a native Apache module — not a proxy,
not a sidecar.
What it is
Google released its final open-source mod_pagespeed in 2020; the
Apache Incubator podling that hosted it has since retired. mod_pagespeed 1.15 picks up that lineage.
It is a drop-in replacement for the open-source Apache module — your existing
pagespeed.conf and
ModPagespeed directives continue to work — with the parts that
had gone stale brought current.
- • Current dependencies. Rebuilt with Bazel against up-to-date libraries, so the module builds and runs on current Apache and current Linux distributions.
- • Security patches. Known CVEs from the open-source project are patched, and security maintenance is ongoing.
- • The classic filter set. WebP transcoding and JPEG/PNG/GIF optimization, plus
combine_css,combine_javascript, image spriting, in-place resource optimization, and domain mapping. - • Same directives. The
ModPagespeed*directive set is unchanged from 1.13.35.2 — see the full directive index.
Install
The Apache module is a drop-in replacement for the open-source mod_pagespeed Apache module
— the same ModPagespeed directives, with current dependencies
and patched CVEs. It installs from the signed apt/yum repository at
packages.modpagespeed.com. One command configures the apt or
yum source and imports the signing key:
curl -fsSL https://packages.modpagespeed.com/install.sh | sudo sh Then install the package and restart Apache:
sudo apt install mod-pagespeed # Ubuntu 24.04
sudo dnf install mod-pagespeed # AlmaLinux / RHEL 9
sudo systemctl restart apache2 # or: systemctl restart httpd
Every artifact is GPG-signed and listed in SHA256SUMS. For other distributions or air-gapped
hosts, the downloads page lists the direct .deb / .rpm
packages; see the getting-started guide for verification and the full directive setup.
A minimal Apache config
The distribution package loads the module automatically on install. Enable it and point it at
a cache directory in pagespeed.conf (or your virtual host configuration):
ModPagespeed on
ModPagespeedFileCachePath /var/cache/pagespeed
That is enough to start optimizing with the default CoreFilters
set. To add or scope individual filters — for example, per virtual host:
<VirtualHost *:80>
ServerName www.example.com
ModPagespeed on
ModPagespeedFileCachePath /var/cache/pagespeed
ModPagespeedEnableFilters rewrite_images
</VirtualHost> Verify the module is rewriting responses by checking for its header on a request:
curl -I http://localhost/
On Apache the response carries X-Mod-Pagespeed. The first
request to any URL shows X-Mod-Pagespeed: MISS while resources are
optimized; subsequent requests show HIT.
This is the minimal setup. For the complete directive set — filter selection, per-directory and per-virtual-host scoping, caching, HTTPS, and domain configuration — see the mod_pagespeed 1.15 documentation.
Activate a license
Install and run the module — it loads into Apache and fully optimizes your site right
away. Unlicensed installs keep optimizing and add an
X-PageSpeed-Warn: unlicensed header (plus an admin-console
notice and a startup-log warning). A commercial license is required for production use. Open
the admin console at /pagespeed_global_admin on your server to
activate a license you already own.
Migrating from IISpeed? Your existing license transfers at no cost — contact us to arrange the transfer.
Pricing
Same as every other mod_pagespeed 1.15 install path: $49/server/month, or $39/server/month billed annually ($588/server/year). One license per Apache instance. No per-request fees.
A commercial license is required for production use. Subscriptions are billed immediately on
purchase via FastSpring — manage your subscription from
/pagespeed_global_admin.
The Apache PageSpeed module. Maintained again.
Same directives, same filters — current dependencies and security patches. A commercial license is required for production use.