If you don’t want some pages to be cached, you can use Exclude Page feature. There are two ways to exclude specific pages from being cached: “Exclude Tab” and “HTML Comment”
1. Exclude Tab
You can see the excluded pages on the “exclude” tab.
If you want to add a new rule, you should push on the “Add New Rule” button.
The system is case insensitive.
There are 4 ways to use this feature. Home Page, Start with, Contain and Exact.
If you want to exclude the home page, you need to select “Home Page”.
If you want to exclude all the pages which start “page”, you need to use “start with”.
If you want to exclude all the pages which contain “cart”, you need to select “contain”.
If you want to exclude only “wp-login.php, sitemap.xml” , you need to select “Is Equal To”.
2. HTML Comment
You can exclude a page manually by putting <!–- [wpfcNOT] -–> into the html source as well.
3. By Hook
You can call the following function in a theme or a plugin file to exclude current page.