Using membership and community plugins with WP Rocket
In general, it's recommended to disable page caching on certain dynamic membership or community plugins pages as no dynamic content on those pages would change until the cache is purged and recreated.
When you're using plugins like bbPress, BuddyPress, LearnDash, or other similar plugins, you'll likely want to add exclusions similar to the following to the Advanced Rules > Never Cache URLs field:
/members/(.*) are only a type of pages used in BuddyPress,
/courses/(.*) in LearnDash, and
/forum/(.*) in bbPress. You'll might need to also add all the specific pages that your community plugin is using.
You can also exclude the pages from the cache as shown here.
Keep optimizations when excluding pages
It is also possible to run WP Rocket cached and optimized for logged-out users and uncached and optimized for logged-in users with one of our helper plugins, as shown in our article: Disable Page Caching For Logged-In Users.