View this package for all CentOS/RHEL versions →
How to install nginx-module-cache-purge (x86_64)
NGINX cache purge and tag invalidation module
Install
sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm sudo yum -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;
RPMs
| Package | Size | Built | Changes |
|---|---|---|---|
| nginx-module-cache-purge-1.31.7+2.7.0-9.amzn2023.gps.x86_64 | 36 KiB | 2026-10-15 | no changelog |