Docs

Simple Cache

Updated on

If you are using the “Simple Cache” plugin, you may encounter some issues when visiting the checkout. This is due to aggressive page caching (which is a good thing!), but it can be easily resolved by excluding the checkout page URI 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  “Simple Cache” under the settings tab.

Open the settings of 'Simple Cache' under the settings tab

Step 3: See the dropdown right side of this simple cache option page “Enable Advanced Mode”

See the dropdown right side of this simple cache option page ' Enable Advanced Mode'

Step 4: Change the option to “Yes” to have advance mode settings.

Change the option to 'Yes' to have advance mode settings

Step 5: Locate the option “Exception URL(s)” on the left side.

Locate the option 'Exception URL(s)' on the left side

Step 6: To exclude “checkouts” pages enter your noted checkout page slug (from step 1) as shown in the screenshot:  /checkouts/*

Simple Cache Exception URL(s) field filled with /checkouts/* while page caching is enabled

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

Simple Cache settings page bottom, with the Save Changes button next to Purge Cache highlighted

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.