Specifying Pages to Not Cache with Hyper Cache
The next stage of the guide to the Hyper Cache WordPress Plugin will take you through the bypass settings, where you can decide to leave out certain pages from the cache.
Step 1) Head to ‘Settings’ on your Dashboard sidebar, and choose ‘Hyper Cache’ from the dropdown. On the Hyper Cache page, click on ‘Bypasses’ from the second toolbar, as shown below.
Step 2) The first option is to decide whether or not you would like to cache the Homepage of your website or not.
Step 3) The 404 Not Found page is when you have a broken link or a page has been deleted but people are still linking to it. If you activate this box, Hyper Cache will not serve a 404 page, as it can overload a blog as WordPress had to generate a full page for it, creating another burden on the site.
Step 4) Ticking the next box will make sure that your main blog feed is spared from being cached.
Step 5) Activating the ‘Do not cache single post comment feed’ feature will save you disk space by not caching every comment that is made on a single post.
Step 6) By clicking ‘Enable’ for exact URIs to bypass, you can enter URIs in the box that will be spared from being cached. An example would be ‘/hyper-cache-bypass-settings/‘ for this post.
Step 7) In order to bypass any URIs that start with a certain term, enter it into the box below and tick the ‘Enable’ box.
Step 8) If you enable the ‘Cookies to Bypass’ box, the cache will bypass any cookie that is named in the box provided, where you can enter cookies at one per line.
Step 9) You can bypass certain devices by enabling the box and listing them in the box provided. This could be iPhone or Android devices, for example.
Step 10) By ticking the ‘Enable’ box here, Hyper Cache won’t serve cached pages to comment authors who are leaving comments on your posts.
Step 11) Keep your cache up to date by giving Hyper Cache a number of days before it rejects older posts from the cache. This will result in lower disk space and is useful when older posts are receiving less traffic.