Skip to content
  • Pricing
  • Products & Services
      Save 25%

      Solid Suite

      Secure your sites, keep them safely backed up, and grow your business… all while saving time and money.

      • Solid Security
      • Solid Backups
      • Solid Central
      • Solid Academy
      See pricing

      Protect

      Shield your site from cyberattacks and prevent security vulnerabilities

      A cloud-first solution for rocket fast backups and one-click restore.

      Repair

      Hacked website? Let our WordPress security experts clean up malicious code, remove threats and restore your site.

      Manage

      Maximize and amplify your admin with remote multi-site management.

      Ensure delivery of every email sent from your site.

      Free Plugins

  • Resources
      Save 25%

      Solid Suite

      Secure your sites, keep them safely backed up, and grow your business… all while saving time and money.

      • Solid Security
      • Solid Backups
      • Solid Central
      • Solid Academy
      See pricing

      Academy

      Solid Academy

      For anyone who wants to start or grow a business around WordPress.

      Guides

      Dive deeper into our free WordPress and business guides.

      Livestreams

      Free livestreams to help you discover new tools and work more efficiently

      Tutorials Academy

      Learn WordPress with our beginner WordPress tutorials

      Resources

      Blog

      Catch up on the latest news from our WordPress security experts

      Vulnerability Report

      Keep track of every new plugin and theme vulnerability

      Support

      Your success with Security, Backups and Central is our highest priority.

      Documentation

      Learn everything you need to know about our products & services.

Sign In Get Solid Suite
SolidWP Logo Black
  • Pricing
  • Products & Services
    • Solid Security Pro
    • Solid Backups — NextGen
    • Solid Fix
    • Solid Central
    • Free Plugins
    • Solid Security
    • Solid Performance
    • Solid Mail
  • Resources
    • Solid Academy
    • Guides
    • Livestreams
    • Tutorials
    • Blog
    • Vulnerability Report
    • Support
    • Documentation

How It Works

3
  • Preloading with Solid Performance
  • Page Cache Delivery Methods
  • How to Flush the cache in Solid Performance

Learn More

3
  • Solid Performance: Debug Feature
  • What is Page Caching?
  • Excluding Pages/Paths from Cache in Solid Performance
View Categories
  • Home
  • SolidWP Documentation
  • Solid Performance
  • Learn More
  • Excluding Pages/Paths from Cache in Solid Performance

Excluding Pages/Paths from Cache in Solid Performance

3 min read

In this article, you’ll learn how to use the exclusions feature in the Solid Performance caching plugin for WordPress. This guide will help you understand how to keep certain pages and posts from being cached, ensuring that dynamic or user-specific content is always up-to-date.

Cache Exclusion Overview #

Using the exclusions setting in Solid Performance allows site administrators to prevent certain pages and posts from being cached. This is especially useful for pages that display constantly changing information or user-specific content, which might otherwise show outdated or incorrect data if cached.

Path-based Matches #

With Solid Performance, you can exclude specific paths that match a page or post’s permalink URL. This straightforward approach ensures that the specified URLs are always served fresh without being cached.

Examples #

  • /directory/steve matches https://example.com/directory/steve
  • /contact-us matches https://example.com/contact-us

To add a path-based exclusion: 

  1. Navigate to Settings > Solid Performance > Advanced
  2. Locate the Cache Exclusions section. 
  3. Enter the desired path in the provided field

If more than one path is excluded, each path must be on its own line. 

Regex-based Matches #

For more fine-tuned control over which pages and posts are excluded from the cache, you can use Regular Expressions (regex). This method allows you to specify patterns for excluding multiple URLs that share similar characteristics.

Examples #

  • /directory-[a-z]* would match /directory-steve or /directory-mark
  • /blog/\d{4}/02 would match /blog/2024/02 and /blog/2023/02 (posts from the second month of every year)

Key Resources for Regular Expressions #

If you’re new to Regular Expressions or need a refresher, the following resources can help you get started:

  • MDN Web Docs: Regular Expressions
  • Regex101: Online Regex Tester and Debugger

To add a regex-based exclusion: 

  1. Navigate to Settings > Solid Performance > Advanced
  2. Locate the exclusions section. 
  3. Enter the desired path in the provided field

If more than one path is excluded, each path must be on its own line. 

By utilizing these exclusion settings, you can ensure that your site’s dynamic content remains accurate and up-to-date, enhancing the user experience and maintaining site performance.

Are any paths automatically excluded? #

Yes! When a site is running WooCommerce or GiveWP, it’s imperative that pages like the cart (for WooCommerce) or the donation history page (for GiveWP) not be cached, as that would risk showing incorrect data to site visitors.

While it’s not actively promoted as a feature, “Smart Exclusions” works behind the scenes to automatically exclude those pages from the cache.

Key points:

  • Default exclusions are enabled automatically when specific plugins are active
  • Solid Performance monitors your active plugins and adjusts exclusions as needed.

WooCommerce Smart Exclusions #

When WooCommerce is active, Solid Performance automatically excludes certain pages from caching. This maintains the integrity of your e-commerce functionality.

According to WooCommerce’s official documentation, specific pages must be excluded when using a page caching solution. Solid Performance ensures these pages are excluded:

  1. Cart
  2. Checkout
  3. My Account

Excluding these pages ensures customers always see up-to-date information about their orders, cart contents, and account details.

GiveWP Smart Exclusions #

For websites using GiveWP, a popular donation plugin, Solid Performance also handles automatic cache exclusions. These exclusions are based on GiveWP’s troubleshooting tips for page caching.

When GiveWP is active, Solid Performance excludes the following pages from caching:

  1. /donations
  2. /donation-confirmation
  3. /donor-dashboard

These exclusions ensure smooth donation processes, accurate confirmation pages, and real-time donor dashboard access.

Updated on April 22, 2026

Was this doc helpful?

  • Happy
  • Normal
  • Sad
Table of Contents
  • Cache Exclusion Overview
  • Path-based Matches
    • Examples
  • Regex-based Matches
    • Examples
    • Key Resources for Regular Expressions
  • Are any paths automatically excluded?
  • WooCommerce Smart Exclusions
  • GiveWP Smart Exclusions
SolidWP
  • Pricing
  • Products
    • Solid Suite – save 25%
    • Solid Security
    • Solid Backups — NextGen
    • Solid Central Pro
  • Resources
    • Blog
    • Academy
    • Guides
    • Tutorials
    • Vulnerability report
  • Support
    • Documentation
  • My account
  • Contact us
    • Terms
    • Refund policy
    • Privacy policy
    • Change Cookie Preferences
  • About SolidWP
    • FAQ
    • Looking for iThemes?
    • Affiliates
    • Press
  • Our Partner Brands
    • GiveWP
    • Iconic
    • KadenceWP
    • LearnDash
    • MemberDash
    • Orderable
    • The Events Calendar

Get Solid Suite bundled with hosting.

Explore StellarSites
  • X
  • YouTube
  • Facebook

A Liquid Web Brand
Hosting for WordPress
© 2025 All Rights Reserved

StellarWP logo
Liquid Web logo