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), and for RHEL/AlmaLinux/Rocky 9 (x86_64, aarch64) and 10 (x86_64), 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:
# Debian 11/12/13, Ubuntu 22.04/24.04
sudo apt-get install mod-pagespeed
# AlmaLinux / RHEL / Rocky 9 and 10
sudo dnf install mod-pagespeed nginx:
# Debian 11/12/13, Ubuntu 22.04/24.04
sudo apt-get install nginx-module-pagespeed
# AlmaLinux / RHEL / Rocky 9 and 10
sudo dnf 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)
- • Debian 11 (bullseye), amd64 + arm64, stock nginx 1.18.0
- • Debian 12 (bookworm), amd64 + arm64, stock nginx 1.22.1
- • Debian 13 (trixie), amd64 + arm64, stock nginx 1.26.3
- • Ubuntu 22.04 (jammy), amd64 + arm64, stock nginx 1.18.0
- • Ubuntu 24.04 (noble), amd64 + arm64, stock nginx 1.24.0
- • AlmaLinux 9 / RHEL 9 / Rocky 9 (el9), x86_64 + aarch64, stock nginx 1.20.1
- • AlmaLinux 10 / RHEL 10 / Rocky 10 (el10), x86_64
Apache (mod-pagespeed)
- • Debian 11 (bullseye), amd64 + arm64
- • Debian 12 (bookworm), amd64 + arm64
- • Debian 13 (trixie), amd64 + arm64
- • Ubuntu 22.04 (jammy), amd64 + arm64
- • Ubuntu 24.04 (noble), amd64 + arm64
- • AlmaLinux 9 / RHEL 9 / Rocky 9 (el9), x86_64 + aarch64
- • AlmaLinux 10 / RHEL 10 / Rocky 10 (el10), x86_64
EL8 is no longer in the generic yum repo. Contact us if you run an nginx version we don't yet package and need a pinned build.
cPanel / EasyApache 4: the ea-apache24-mod_pagespeed package
covers EL8 and EL9 (x86_64) and auto-enables on cPanel hosts. See the cPanel guide.
Running ngx_pagespeed? See ngxpagespeed.com.
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 as 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 — the software never locks
you out. Production use requires a commercial license, sold per site (see pricing) and activated from the admin console at
/pagespeed_global_admin on your server. Non-commercial,
self-attested production can run on a community license instead. First-time setup is covered in the 1.15 getting-started guide; see /download/ for the full
integration matrix (Apache, nginx, IIS, ASP.NET Core).