
GetPageSpeed Cache Configuration
v1.4.0Danila Vershinin · 2026年11月13日 上架
Generates Nginx configuration from page-cache plugin settings so Nginx can serve cached pages without PHP.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 215
- 最近更新
- 2026年11月14日
贡献者
GetPageSpeed Cache Configuration generates the Nginx configuration that locates
page-cache files on disk and serves them directly, without starting PHP.
It works with WP Rocket and WP Super Cache. The plugin detects which one is
active and mirrors the settings that decide how cache files are named and when a
request must bypass the cache. The cache plugin is still required to create and
purge the page cache.
A built-in check confirms that Nginx actually loaded the generated file, and
tells you when Nginx has not been reloaded since the last change.
The same check finds out whether Nginx compresses pages with Brotli. WP Rocket
writes gzip files only. When Brotli is in use, clients that accept it get the
page compressed with Brotli by Nginx. When it is not, they get WP Rocket’s
pre-compressed gzip file instead of a page that Nginx gzips again on every
request.
The WP Rocket template is derived from the MIT-licensed Rocket-Nginx project by
Maxime Jobin and SatelliteWP. The WP Super Cache rules follow the conditions of
the Apache rules that WP Super Cache itself generates.
This plugin is made by GetPageSpeed. It is not affiliated with or endorsed by
WP Media (WP Rocket), Automattic (WP Super Cache), SatelliteWP (Rocket-Nginx),
or F5 (NGINX).
Brotli
Brotli makes pages smaller than gzip, and Nginx needs a module for it. One is
available from the GetPageSpeed repository,
a subscription service with a free 30-day trial. Any Brotli module works: the
plugin looks for Brotli in the responses of your site, not for a particular
package.
Monitor your server
This plugin lets Nginx answer without PHP, but is Nginx itself healthy? If you
run your own server, GetPageSpeed Amplify
charts its requests, errors and configuration issues over time, with a free tier.