Skip to main content

cachepurge

Clear Website Cache

This tool will help you to clear caches from websites and web servers.

Command:

/usr/local/eenos/scripts/cachepurge

Command Options:

Usage: /usr/local/eenos/scripts/cachepurge   <option>

Command Groups:
Options:
    --nginx     -   Clean all Nginx cache
    --ols       -   Clean all OpenLiteSpeed cache
    -d <domain> -   Clean domain cache
    -u <url>    -   Clean url cache

Clean Nginx Server Cache

To clean the whole Nginx server cache, run the following command.

/usr/local/eenos/scripts/cachepurge --nginx

Clean OpenLiteSpeed Cache

To clean the whole OpenLiteSpeed cache, run the following command.

/usr/local/eenos/scripts/cachepurge --ols

Purge DomainĀ  Cache

To clean the cache onĀ  a website, run the following command

/usr/local/eenos/scripts/cachepurge -d <domain>

Purge URL Cache

To clean the cache on a specific website url, use the following command

/usr/local/eenos/scripts/cachepurge -u <url>