Caching problems

Common caching issues #

Authorization and Privacy

Caching may interfere with authorization features such as login, registration, and password reset pages, making them non-functional or insecure.

The Account and User Profile pages contain private user information. If cached, this data could be displayed to the wrong user.

The Members page contains a directory that uses secure requests. Caching this page may result in errors or stale content.

Content Restriction and Redirects

Caching can cause restricted content or redirects to behave incorrectly by saving one user's view and displaying it to others. Always disable caching on pages that use content restriction or redirection.

Multiple Caching Plugins

Avoid using multiple caching plugins. This practice can lead to broken layouts, functionality issues, and increased error risks. Use only one caching plugin and deactivate any others.

Hosting Cache

Some hosts use server-level caching. While this is often optimized, you must ensure that key pages are excluded from being cached. Refer to the hosting-specific instructions below.


How to Disable Page Caching

You must disable caching for the following Ultimate Member pages to prevent broken layouts, privacy issues, or functionality problems:

  • Login
  • Register
  • Password Reset
  • Account (or My Account)
  • User Profile
  • Members (optional — only if it displays incorrect or outdated content)

The method for excluding these pages depends on the caching plugin or hosting tool you are using. See the sections below for plugin- and host-specific instructions.

Note: Use clean permalinks (e.g., /register/) instead of query-based URLs (e.g., /?page_id=123). You can confirm this at WP Admin > Ultimate Member > Settings > General > Pages or by checking under Pages > Quick Edit.


Plugin-Specific Instructions

Breeze

Use wp-admin > Settings > Breeze > Advanced Options > Never Cache URL(s) to exclude pages. Read the Breeze documentation for details.

Cloudflare

Use the Cloudflare Page Rules to disable caching for certain pages. To view page rules, log in to the Cloudflare dashboard. Select the domain where you want to edit your page rule and click the Rules app. In the Page Rules tab, locate the rule to edit.

You can use the asterisk (*) in any URL segment to match certain patterns.

Recommended settings for pages excluded from cache:

  • Cache Level: BYPASS
  • Origin Cache Control: no-cache, no-store, must-revalidate
  • Rocket Loader: OFF

Hummingbird

Use the setting  "Exclusions - URL Strings" on wp-admin > Hummingbird > Caching to exclude pages.

LiteSpeed Cache

Use the setting  "Do Not Cache URIs" on wp-admin > LiteSpeed Cache > Cache > Excludes to exclude pages. Read the article Cache for details.

SG Speed Optimizer (SiteGround)

SiteGround’s Speed Optimizer includes caching via its SuperCacher system. By default, it does not cache content for logged-in users, which is the recommended behavior for Ultimate Member.

However, SG Optimizer also includes an option to enable “Logged-in Users Cache.” If this is turned on, SiteGround will generate separate cache versions for each logged-in user. This can cause unexpected behavior with Ultimate Member, including issues switching between profile and account pages. See more info here.

Recommendation:
Do not enable “Logged-in Users Cache.” Instead, rely on SiteGround’s default behavior which skips caching for logged-in users entirely.

To exclude Ultimate Member pages from caching, follow these steps:

  1. Go to WP Admin > Speed Optimizer > Caching > Exclude URLs from Caching
  2. Add the following paths (adjust to your site’s URL structure):
    • /login/
    • /register/
    • /account/
    • /user/
    • /members/
    • /password-reset/
  3. Save changes.

For additional guidance, refer to SiteGround’s documentation:
SuperCacher Controls – SiteGround Tutorial

1. EasyWP / Varnish Cache

EasyWP hosting by Namecheap uses Varnish cache by default. If your site is hosted on EasyWP or another platform that uses Varnish, caching can be compatible with Ultimate Member as long as the correct URL exclusions are in place.

Varnish is typically configured to bypass caching for logged-in users and specific URLs that are commonly used for login, registration, and profiles. These default rules help avoid issues with user privacy, redirects, and stale content.

Default Varnish exclusions (example VCL rules):

/login 
/logout 
/lost-password
/my-account
/register 
*profile_nocache 
*user_nocache 
*members_nocache

If your Ultimate Member pages use these paths or include nocache in the URL, they will usually be excluded from caching automatically—no manual action is required.

References:

There’s no need to contact your host if your URLs follow this pattern. Just make sure your Ultimate Member pages use clean, non-query permalinks and include /nocache/ in the slug if needed.

W3 Total Cache

Use the setting  "Never cache the following pages" on wp-admin > Performance > Page Cache to exclude pages. See FAQ.

WP Engine

Use WP Engine custom cache exclusions to disable caching for certain pages. To view custom cache exclusions, visit the Caching options page in your User Portal.

WP Fastest Cache

Use the setting "Exclude Pages" on   wp-admin >WP Fastest Cache > Exclude  to exclude pages. See examples here.

WP-Optimize

Use the setting  "URLs to exclude from caching" on  wp-admin > WP-Optimize > Settings > Cache > Advanced settings  to exclude pages. Read the Advanced settings – exclude URLs for details.

WP Rocket

Use the setting  "Never Cache URL(s)" on  wp-admin > Settings > WP Rocket > Advanced Rules  to exclude pages. Read the article Exclude Pages from the Cache for details.

This plugin has a feature that defer JS files loading, that may cause critical JavaScript errors. Please disable the Load JavaScript deferred and Delay JavaScript execution features if you see JavaScript errors in the browser console.

WP Super Cache

Use settings on   wp-admin > Settings > WP Super Cache > Advanced  to exclude pages.

Sucuri Firewall

You can configure caching exceptions through the Sucuri dashboard.
See: Sucuri Cache Exceptions


How to disable image caching #

Jetpack

The Jetpack site accelerator copies images to domains i0.wp.com, i1.wp.com, i2.wp.com or i3.wp.com and cache them, then replaces original images. This feature influence profile photos, please disable it. Go to  wp-admin > Jetpack > Settings > Performance  and turn off the setting "Speed up image load times".