Paper Lantern for cPanel accounts is being retired this year. Find out more »
cPanel & WHM Version 102 has been released, and brings a slew of great updates. Take a look at what is included, and then upgrade today!

Nginx - Allow to to purge cache for a specific page

Julien T. shared this idea 20 days ago
Not Planned

As a website owner, I would like to be able to send HTTP PURGE requests so that I can purge only specific pages and not the whole site to improve performance.

Long story short: Nginx supports the use of the HTTP PURGE, it needs to be added somehow in the config cPanel generates. This is often automated by the backend CMS so the use of the standard method (HTTP PURGE) vs use of cPanel API is preferred. As a starting point, allowing HTTP PURGE from server IP & localhost seems reasonable.

Replies (1)


Hey Jullen,

Unfortunately we can't support this in a shared hosting environment. There are security concerns when one user can clear/purge the cache of another when allowing access from localhost. You're welcome to extend our implementation of NGINX to support this on your server but this won't be something we explore due to security issues outlined above.

Replies have been locked on this page!