Server Setup

ngx_cache_purge: closing the gap with Varnish

by ,


The ngx_cache_purge provides you with the ability to clear specific NGINX cache entries easily.
This is a feature present in NGINX Plus, but now you can easily add it to your open source NGINX using our packaged module.

How to install ngx_cache_purge in CentOS 7

yum install https://extras.getpagespeed.com/release-el7-latest.rpm
yum install nginx-module-cache-purge

To enable this module, add the following to /etc/nginx/nginx.conf and reload nginx:

load_module modules/ngx_http_cache_purge_module.so;

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.