Updated: 28 September 2026 · Applies to: Nginx 1.24+

ngx_pagespeed (Google's PageSpeed module for Nginx) is no longer developed, and the control panels this guide covered (VestaCP) are abandoned. Installing it on a current server is not recommended.

The same speed gains come from standard Nginx features: compression, browser caching of static files, page caching, optimised images and a CDN. See "How to install Nginx 1.12 with PageSpeed module on CentOS 7?" for a short replacement configuration.

If a site still has PageSpeed, turn it off with pagespeed off; in the server block before removing the module.

Related services

KVM VPS hosting

NVMe SSD and full root access, with Free Basic Managed Support.

Unmanaged dedicated servers

full root access and free IPMI KVM, with Free Basic Managed Support.

Managed dedicated servers

our engineers look after the server for you, from $135 a month.

Was this answer helpful?

Still stuck? Open a ticket