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:

memerbship excluded pages examples

The pages /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.

Hosting services where WP Rocket doesn't manage cache
If you are using one of the following hosting services, you will need to reach out to their support and ask them to exclude the above path patterns in order for the exclusions to work: DreamPress, Flywheel, Kinsta, Pressable, SpinupWP, WordPress.com, WP Engine

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.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.