Docs

LiteSpeed Cache

Updated on

If you are using the “LiteSpeed” plugin, you may encounter some issues with the Checkout page when visiting it.

This is due to aggressive page caching (which is a good thing!), but it can be easily resolved by excluding the checkout page URL from the cache plugin.

You need to exclude checkout pages by following these instructions:

Step 1: Note down the slug of your checkout page from the general settings

Checkout permalink

Step 2: Open the settings of  “LiteSpeed Cache”

Open the settings of 'LiteSpeed Cache'

Step 3: Jump on the “Exclude” tab.

Jump on the “Exclude” tab

Step 4: Scroll down the exclude page and locate for “Do Not Cache URIs” 

LiteSpeed Cache settings with the option to exclude pages from cache

Step 5: To exclude “checkouts” pages, enter your noted checkout page slug (from step 1) with special characters as shown in the screenshot: “/checkouts/”

To exclude “checkouts” pages, enter your noted checkout page slug (from step 1) with special characters as

Step 6: Scroll down the page and click on the “Save Changes” button to update the settings.

LiteSpeed Cache Do Not Cache Roles options with an arrow on the Save Changes button

By default, the Checkout page’s slug is “checkouts”. If you had changed the checkout pages slug for any reason get the slug from FunnelKit (formerly WooFunnels) > Settings > General > Permalinks.

Note : If you are creating any Embed Form or using CDN or Varnish cache, you must need to exclude the URL in cache plugin’s exclude settings.