Caching problems

Common problems

Authorization and privacy

Don't cache pages Login, Register, Password Reset. Caching authorization features makes the site unsecure. Don't cache pages Account and User (a profile page). These pages may contain private information.

Content restriction and redirects

The cache can save a page for one user and then display saved page for other users. That's why content restriction and redirects may work wrong on cached pages. Please disable caching for pages that use content restriction feature.

Multiple caching

Using multiple caching plugins is a bad practice. All caching plugins are unsafe and may break layout or functionality. Using multiple caching increases the risk of error many times. Please select one caching plugin you want to use and deactivate other caching plugins.

Hosting caching

Some hosting providers have a built-in caching tool on the server side. In this case you have to contact hosting support and ask them to exclude certain pages from caching.

How to disable pages caching

Please disable caching for pages: LoginRegisterPassword ResetAccount and User. The way to add exceptions depends on the caching plugin or tool you use.

Hummingbird

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

LiteSpeed Cache

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

SG Optimizer

Use the setting "Excluding URLs" on the page [wp-admin > SG Optimizer > SuperCacher Settings] to exclude pages. Read the article SuperCacher Controls for details.

Varnish cache

Contact your hosting provider and ask to exclude pages. Read the article Getting Started with Varnish for details.

W3 Total Cache

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

WP Engine

Contact your hosting provider and ask to exclude pages. Read the article "Cache Exclusions" for details.

WP Fastest Cache

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

WP-Optimize

Use the setting "URLs to exclude from caching" on the page [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 the page [wp-admin > Settings > WP Rocket > Advanced Rules] to exclude pages. Read the article Exclude Pages from the Cache for details.

WP Super Cache

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

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 the page [wp-admin > Jetpack > Settings > Performance] and turn off the setting "Speed up image load times".