This is a guide with steps on accessing and using the different functions of the cPanel plugin, Cache Manager. This plugin is available on all hosting plans besides the Lite and Launch Business Shared plans. Access to cPanel will be needed to complete these steps.
Related Articles
Disable Caching on Website
Purge Website's NGINX Cache
Steps to Configure Caching
- Log into the appropriate cPanel
- Navigate to the Software section
- Locate and click the Cache Manager icon
- Once loaded, two different action tabs will show:
- Purge Cache - allows partial or full purging of a website's cache
- View the article on purging a website's NGINX cache
TIP: For WordPress users not wanting to use Cache Manager to clear a website's cache after every update, the NGINX WordPress helper plugin can help easily automate caching based on defined triggers
- View the article on purging a website's NGINX cache
- Options - can enable/disable caching, change default refresh time, add new bypass URLs, or configure advanced options
- Enable Caching: If you are making a high number of radical changes to the site, and you want to see changes immediately, you will want to disable caching. This will suspend caching while you are working on the site, so you can see changes without having to repeatedly flush the cache
- Default Refresh Time: The default refresh time tells the caching service how long it should wait before checking for updates to your website
- Bypass URL: The bypass URL setting tells the caching service which URLs should never be cached. These URLs will always be loaded directly from the server and never from the page cache. To add a new URL, click the + button. Conversely, to remove a URL use the X button.
- Advanced Options and their descriptions:
- Proxy Protocol
- Allows the ability to select whether a website should force HTTP or HTTPS. To use the secure protocol, (https://), a valid SSL certificate must be installed on the domain.
- Allows the ability to select whether a website should force HTTP or HTTPS. To use the secure protocol, (https://), a valid SSL certificate must be installed on the domain.
- ModSecurity Response Cache Time
- By default, ModSecurity (406) errors are not cached. If the website is receiving an influx of connections blocked by ModSec, then this option can mitigate excessive resource usage by caching the response for the specified amount of time.
- 404 Error Cache Time
- Allows the ability to set how long the cache will wait before NGINX sends a request for content with a 404 error. A higher number helps mitigate excessive usage from bots crawling your website. A lower number helps clear out 404s for content served up by a third-party Content Delivery Network (CDN)
- Allows the ability to set how long the cache will wait before NGINX sends a request for content with a 404 error. A higher number helps mitigate excessive usage from bots crawling your website. A lower number helps clear out 404s for content served up by a third-party Content Delivery Network (CDN)
- Max requests per minute and Rate limit Path
- These settings work in tandem to reduce the frequency of fulfilling specific requests. For instance, to mitigate excessive resource usage generated by WordPress’s xmlrpc.php script:
- Enter the path to the xmlrpc.php file in the Ratelimit Path: field
- Set the maximum number of requests per minute that will be allowed, in the Max requests per minute: field
- Enable gzip compression
- The level of gzip compression determines how compressed the data is
NOTE: The values range from one to nine (1-9), nine (9) being the most compressed. - This setting requires a delicate balance of compression with server resources and transfer speed with bandwidth.
EXAMPLE: A value of nine (9) requires the most server resources for compression but the least bandwidth to transfer; whereas a value of one (1) requires the least amount of server resources for compression but the most bandwidth to transfer.
- The level of gzip compression determines how compressed the data is
- Error Page
- Allows the ability to set a custom error page for a 503 (Service Unavailable) or 504 (Gateway Timeout) error by entering the path to the custom error page file previously created, starting from the home directory of the domain.
EXAMPLE: If the value error-page was entered, then these errors would be redirected to https://yourdomain.com/error-page
- Allows the ability to set a custom error page for a 503 (Service Unavailable) or 504 (Gateway Timeout) error by entering the path to the custom error page file previously created, starting from the home directory of the domain.
- Proxy Protocol
- Purge Cache - allows partial or full purging of a website's cache
- Select the Save Changes button
Comments
0 comments
Article is closed for comments.