Subscribe

How to install sw-nginx-module-cache-purge in CentOS/RHEL 8 (x86_64)

NGINX Cache Purge module

License: Proprietary Vendor: GetPageSpeed LLC https://nginx-extras.getpagespeed.com/modules/cache-purge/
Important: The Plesk control panel must be installed on your server before using this repository.

Install

# The Plesk control panel must be installed on your server.
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-plesk
sudo dnf -y install sw-nginx-module-cache-purge

Description

NGINX module which adds ability to purge content from FastCGI, proxy, SCGI and uWSGI caches. A purge operation removes the content with the same cache key as the purge request has. After installation, enable this module by running: plesk sbin nginx_modules_ctl --enable cache-purge