One of the features of the Website Firewall Platform is its caching. The Website Firewall Platform (powered by Sucuri) offers four caching options for you to select from.
The Caching Level can be managed from within your Memset Control Panel by selecting the "Manage Website Firewall Platform" page from the Overview page of your chosen Website Firewall Platform.
To understand which caching level is the best for your website, use this comparison table:
|Caching Level||Recommended Site Type||Page Caching Time||Redirects (301/302) Caching Time||Not Found (404) Caching Time||Respects Caching Headers*|
|Enabled||Static websites, no dynamic content and infrequent updates.||180 minutes||180 minutes||4 minutes||No|
|Minimal Caching||News portal, blogs or sites with content updated daily and no user sessions.||8 minutes||15 minutes||2 minutes||No|
|Site Caching||eCommerce, forums, membership sites and custom applications.||180 minutes||180 minutes||4 minutes||Yes|
|Disabled||Non-public facing websites or websites using external CDNs.||1 minute*||10 minutes||1 minute||Yes|
* Disabled caching level will only cache your pages, redirects or 404 responses when there are no Cache-Control or similar caching control headers. The same applies for Site Caching cache level.
Default Caching Level
The default (and recommended) Caching Level for the Website Firewall Platform is "Site Caching".
If you are facing caching issues, please make sure you’re using the indicated caching level for your website type.
Regardless of the caching level you choose, static files will be cached for 3 days even on Disabled mode. This is done to prevent certain types of DDoS attacks.
You can use "versioning" which will ensure updates go live as expected. This is done by adding a query string such as "?ver=123.1" and incrementing (such as ?ver=123.2) on each update. The final option is to clear the Website Firewall Platform's cache.