View this package for all CentOS/RHEL versions →
How to install nginx-module-cache-purge in CentOS/RHEL 8 (x86_64)
NGINX cache purge and tag invalidation module
Install
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install nginx-module-cache-purge
Description
Purge FastCGI, proxy, SCGI and uWSGI cache objects by exact key, wildcard prefix, full cache zone, or cached response tags. Generic surrogate-key support provides selective Magento X-Magento-Tags invalidation without flushing unrelated cached pages. To enable this module after installation, add the following to /etc/nginx/nginx.conf and reload NGINX: load_module modules/ngx_http_cache_purge_module.so; Alternatively, enable all installed modules by adding this line to the top of /etc/nginx/nginx.conf: include /usr/share/nginx/modules/*.conf;
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-cache-purge-1.31.8+2.7.0-9.el8.gps.x86_64 | 35 KiB | 2026-10-21 | no changelog |
| nginx-module-cache-purge-1.31.7+2.7.0-9.el8.gps.x86_64 | 35 KiB | 2026-10-15 | no changelog |