How to enable & disable the cache
Click the menu icon on the top right corner of a site card and select ‘Settings’. From here you will see the Boost option in the site settings page.
How to tell if a page is cached
We have a response header added to all sites using Boost:x-prostack-boost
There are 3 statuses:
HIT: This indicates the page is being served from cache.
MISS: The page is not being served from cache
BYPASS: The page is bypassing the cache- because there’s a rule to exclude it. Usually used on shopping cart pages or logged in areas, such as wp-admin.
Note: the first hit for any page will always be a MISS unless the cache is already populated. In testing you should always test twice.
Cache Purging
Purging the entire cache
Click the menu icon on the top right corner of a site card and select ‘Settings’, then the Purge Cache button.
Purge when changes are made
To enable purge-on-change (i.e. purge a specific page when it is updated or changed) you need a plugin. We recommend Nginx Helper. Once Nginx Helper is installed you can enable it via “Nginx Settings”. Simply tick the “Enable Purge” checkbox and ensure the Caching Method setting is “nginx FastCGI cache”. This is the default.Default cache configuration
We bypass the cache for the following:- POST requests
- Any URL with a query string (
?=) in it - Woocommerce cart, basket or checkout pages
- Wordpress admin areas
- Any logged-in user
/etc/nginx/conf.d/accel/accel-site.conf.
