|
/ Documentation /Troubleshooting/ How to Set Up SureForms with Caching Plugins

How to Set Up SureForms with Caching Plugins

Caching plugins can sometimes cause SureForms to stop working correctly on your WordPress site. This guide will help you make sure your forms display and submit properly, even when caching is enabled.

 Why Exclude SureForms from Caching?

Caching plugins make your website faster by saving copies of your pages. However, they can block important SureForms scripts, which may cause:

  • Error messages before a user interacts with the form
  • Forms not submitting
  • Instant Forms are not loading or working properly

Popular Caching Plugins

You may need to adjust settings if you use one of these plugins:

  • WP Rocket
  • LWS Optimize
  • LiteSpeed Cache
  • W3 Total Cache
  • WP Super Cache
  • SiteGround Optimizer (SG Optimizer)
  • Hummingbird
  • Swift Performance
  • Other caching plugins

What Should You Do?

Step 1: Detect Caching Plugins

Go to Plugins > Installed Plugins in your WordPress dashboard to see if you are using any caching plugins.

Step 2: Exclude SureForms Pages or Instant Forms from Caching

For each caching plugin, look for an option to exclude certain pages or URLs from being cached. Exclude any page where a SureForm appears or the Instant Forms.

Example URLs to Exclude:

  • /contact/
  • /support/
  • /newsletter-popup/

Example: How to Exclude Pages in Popular Plugins

WP Rocket

  1. Go to Settings > WP Rocket
  2. Click on the Advanced Rules tab
  3. Add your form page URLs (like /contact/) under Never Cache URLs
  4. Save changes and clear the cache.

LWS Optimize

  1. Go to LWS Optimize > Cache Settings
  2. Find Exclude URLs from Cache
  3. Add your form page URLs
  4. Save and clear the cache

LiteSpeed Cache

  1. Go to LiteSpeed Cache > Cache > Excludes
  2. Add your form page URLs under Do Not Cache URIs
  3. Save and purge all caches


For other plugins, look for similar options called “Exclude URLs” or “Never Cache” in their settings.

Step 3: Test Your Form

  • Reload the form page
  • Make sure the form appears and submits correctly
  • Test Instant Forms.

Troubleshooting

If your forms still aren’t working:

  • Clear your browser cache
  • Temporarily disable other optimization plugins to see if they are causing the issue
  • Double-check that the correct URLs are excluded from caching
  • Review related documentation, such as troubleshooting email sending or browser support for SureForms

Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
On this page
Scroll to Top