mod_pagespeed 1.15
Install from packages.modpagespeed.com
A signed apt and yum repository for the mod_pagespeed 1.15 Apache and nginx modules. One line detects the distro, installs the GPG signing key, writes the source file, and pulls the package. The nginx module ships prebuilt for Debian 11/12/13 and Ubuntu 22.04/24.04 (amd64 and arm64), each pinned to that distro's stock nginx.
Install
curl -fsSL https://packages.modpagespeed.com/install.sh | sudo sh Then install the module for your server. Apache:
# Ubuntu 24.04
sudo apt-get install mod-pagespeed
# AlmaLinux 9 / RHEL 9 / Rocky 9
sudo dnf install mod-pagespeed nginx:
# Debian 11/12/13, Ubuntu 22.04/24.04
sudo apt-get install nginx-module-pagespeed
Installing nginx-module-pagespeed drops a modules-enabled
auto-include snippet — there is nothing to copy by hand. Each .so is pinned to its distro's exact stock nginx version (nginx's --with-compat does not relax that check), so upgrading nginx past the stock version needs a matching
rebuild — contact us
for a pinned build. This is also the prebuilt fix if your ngx_pagespeed build is failing on a modern nginx in the first place.
Supported today
nginx (nginx-module-pagespeed, amd64 + arm64)
- • Debian 11 (bullseye), stock nginx 1.18.0
- • Debian 12 (bookworm), stock nginx 1.22.1
- • Debian 13 (trixie), stock nginx 1.26.3
- • Ubuntu 22.04 (jammy), stock nginx 1.18.0
- • Ubuntu 24.04 (noble), stock nginx 1.24.0
Apache (mod-pagespeed)
- • Ubuntu 24.04 (noble), amd64
- • AlmaLinux 9 / RHEL 9 / Rocky 9 (el9), x86_64
EL8 isn't packaged yet. Contact us if you need it, or if you run an nginx version we don't yet package and need a pinned build.
How it works
The install script detects the distribution, fetches the public signing key (F50D6054F10712A0), and writes a single source file:
/etc/apt/sources.list.d/modpagespeed.list on apt, or
/etc/yum.repos.d/modpagespeed.repo on yum. Credentials and URLs stay
out of the source file itself — apt credentials live in
/etc/apt/auth.conf.d/; the yum file is mode 0600.
Subsequent apt-get upgrade /
dnf upgrade picks up new releases automatically.
License
The package is the same mod_pagespeed 1.15 build distributed through the direct download links.
Install it and it optimizes right away, including automatic WebP image optimization via the nginx module — unlicensed installs keep optimizing and add an
X-PageSpeed-Warn: unlicensed header. Production use requires a
commercial license — but the software never locks you out. Licenses are sold per site
(Business: $99/site/month, with
unlimited servers per site), activated from the admin console at
/pagespeed_global_admin on your server. See /download/ for the full integration matrix (Apache, nginx, IIS, ASP.NET Core).