Exclude Pages From The Cache

It is very simple to exclude a page or pages from the cache. Note that WP Rocket automatically excludes cart and checkout pages for certain ecommerce plugins. Read more about that here.

How to exclude individual pages

1
Go to WP Rocket Advanced tab
2
Locate the box Never cache (URLs) 
3
Enter the URL of the page you wish to exclude. You can either enter the full URL e.g. http://www.example.com/page/ or you can just enter the part after the domain name, e.g. /page/
Either way will work.
4
For multiple pages, enter each on its own line:

Should you use the trailing slash?

Whether or not you include a trailing slash at the end of the URL depends on how your site is set up. You can go to Settings → Permalinks and look at the structure you are using. If it ends with a slash (/), such as /%postname%/ (which is the most typical), you must include it when adding URLs to this box.

How to exclude a group of pages at once

You can use simple Regex to exclude a specific set of pages.

For example, you have an events section on your site and you want to exclude all the event pages. Assuming they are set up as child pages, so that their URL structure is like this:

/events/your-event-here/  
/events/another-event here/

You could use the following:

/events/(.*)

This would exclude the page "events" and all the pages with events/ in the URL.