How to install nginx-module-pagespeed in CentOS/RHEL 9 (x86_64)
PageSpeed dynamic module for NGINX
Install
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install dnf-plugins-core sudo dnf config-manager --enable getpagespeed-extras-testing sudo dnf -y install nginx-module-pagespeed
Description
PageSpeed dynamic module for nginx.
Compatibility
This package is compatible with all RHEL-based distributions, including CentOS, AlmaLinux, Oracle Linux, Rocky Linux, etc.
RPMs
| Package | Size | Built | Changes |
|---|---|---|---|
| nginx-module-pagespeed-1.30.7+2.1.0~beta18-2.el9.gps.x86_64 | 12.0 MiB | 2026-11-18 |
Danila Vershinin - Rebuild: the post-deploy smoke now rehearses the upgrade from the stable · 1.14 build (scripts/upgrade-rehearsal.sh). No change to the module. · - The install banner points at the current documentation page. |
| nginx-module-pagespeed-1.30.6+2.1.0~beta18-2.el9.gps.x86_64 | 12.0 MiB | 2026-11-15 |
Danila Vershinin - Rebuild: the post-deploy smoke now rehearses the upgrade from the stable · 1.14 build (scripts/upgrade-rehearsal.sh). No change to the module. · - The install banner points at the current documentation page. |
| nginx-module-pagespeed-1.30.6+2.1.0~beta18-1.el9.gps.x86_64 | 12.0 MiB | 2026-11-15 |
Danila Vershinin - Bump to v2.1.0-beta18 (configurations written for 1.14 keep working). · - MemcachedServers no longer stops the worker and RedisServer no longer · leaves pages unoptimized: the Memcached* and Redis* directives are · accepted, reported and ignored, and the file cache is used. · - "UseNativeFetcher off" is reported and ignored instead of disabling all · fetching. · - An image quality outside -1..100, or ImageResolutionLimitBytes of zero or · less, is brought into range and reported instead of failing nginx -t. · - FetchHttps with an unknown keyword is a configuration error again. · - Without an nginx resolver directive, external hosts are resolved with the · name servers of /etc/resolv.conf. |
| nginx-module-pagespeed-1.30.6+2.1.0~beta17-1.el9.gps.x86_64 | 12.0 MiB | 2026-11-15 |
Danila Vershinin - Bump to libpagespeed v2.1.0-beta17 (security fixes). · - The HTTP cache stores only responses in identity or gzip coding: a br or · zstd response fetched through MapProxyDomain, or recorded by in-place · optimization, was stored once and served to every client. · - Wildcard matching (User-Agent and option patterns) tries each pattern once · per match, so a crafted request header can no longer cost quadratic CPU. · - HTML is optimized up to 64 MiB; the rest of a larger page passes through · unchanged, and gzip HTML stops inflating there. · - The admin config page no longer shows BlockingRewriteKey or · DownstreamCacheRebeaconingKey. |
| nginx-module-pagespeed-1.30.6+2.1.0~beta16-1.el9.gps.x86_64 | 12.0 MiB | 2026-11-14 |
Danila Vershinin - Bump to libpagespeed v2.1.0-beta16 (security fix, ANT-2026-RIRYHATG). · - CSS holding a "<" is never written into the page: inline_css, · prioritize_critical_css and rewrite_css of inline styles leave such CSS as · it was. A stylesheet linked inside noscript, noembed, textarea, select or · similar, or an escaped "\3C" decoded by rewrite_css, could otherwise inject · markup. Stylesheets with a "<" (Tailwind 4 @property syntax, media range · queries) stay external. |
| nginx-module-pagespeed-1.30.6+2.1.0~beta15-1.el9.gps.x86_64 | 12.0 MiB | 2026-11-12 |
Danila Vershinin - Bump to libpagespeed v2.1.0-beta15. · - rewrite_css keeps the hex escape on class and id names that start with a · digit (Tailwind "2xl:" variants, ids such as "1st"); such rules came out as · invalid selectors and browsers dropped them. |
| nginx-module-pagespeed-1.30.6+2.1.0~beta14-1.el9.gps.x86_64 | 12.0 MiB | 2026-11-12 |
Danila Vershinin - Bump to libpagespeed v2.1.0-beta14: configuration scoping update. · - Nested locations and if blocks inherit the PageSpeed options of their · enclosing location. A location with "pagespeed unplugged" can no longer · be re-enabled by request options. Sticky option cookies restore encoded · filter lists. Explicit image preserve-URL directives override inherited · resize and inline filters. Rewritten CSS keeps the same hash and URLs · when first fetched through a mapped origin. |
| nginx-module-pagespeed-1.30.6+2.1.0~beta13-2.el9.gps.x86_64 | 12.0 MiB | 2026-10-31 |
Danila Vershinin - Ship the SELinux policy as version-agnostic CIL instead of a prebuilt binary · .pp (whose format can outrun the target's libsepol); warn loudly when the · module fails to install instead of swallowing it |
| nginx-module-pagespeed-1.30.6+2.1.0~beta13-1.el9.gps.x86_64 | 12.0 MiB | 2026-10-15 |
Danila Vershinin - Bump to libpagespeed v2.1.0-beta13: AVIF and hardening update. · - Recompresses existing still AVIF images safely. Adds an 8 MiB HTML · token passthrough limit and a 32 MiB native-fetch body limit, a sprite · resolution guard, SRI-safe resource handling, image-option bounds, · s-maxage removal when caching is disabled, and a WebP rewritten-URL · fallback for Safari 16+ and Firefox 132+. |
| nginx-module-pagespeed-1.30.5+2.1.0~beta13-1.el9.gps.x86_64 | 12.0 MiB | 2026-10-03 |
Danila Vershinin - Bump to libpagespeed v2.1.0-beta13: AVIF and hardening update. · - Recompresses existing still AVIF images safely. Adds an 8 MiB HTML · token passthrough limit and a 32 MiB native-fetch body limit, a sprite · resolution guard, SRI-safe resource handling, image-option bounds, · s-maxage removal when caching is disabled, and a WebP rewritten-URL · fallback for Safari 16+ and Firefox 132+. |
| nginx-module-pagespeed-1.30.5+2.1.0~beta12-1.el9.gps.x86_64 | 12.0 MiB | 2026-09-24 |
Danila Vershinin - Bump to libpagespeed v2.1.0-beta12: security and correctness update. · - Fixes two cross-site scripting issues in generated inline scripts · (inline-image deduplication and low-res image preview), an integer · overflow in numeric HTML character reference decoding, an image · resolution-limit bypass via crafted PNG dimensions, and adds a JavaScript · tokenizer depth ceiling (denial-of-service hardening). Also fixes six · JavaScript minifier output-corruption classes, CSS math-function · zero-unit stripping, case-insensitive CSS URL rebasing, animated WebP · for three-digit browser versions, in-place Vary header token merging, · CSP gating for combine_javascript, and async/defer script inlining. |
| nginx-module-pagespeed-1.30.5+2.1.0~beta11-1.el9.gps.x86_64 | 11.9 MiB | 2026-09-16 |
Danila Vershinin - Bump to libpagespeed v2.1.0-beta11: enable the nginx-native fetcher for · same-origin HTTP resources and make graceful worker shutdown null-safe when · UseNativeFetcher is disabled. Add a post-smoke graceful-quit regression gate. · - Package the Apache-2.0 license from its current monorepo location. |