Wordpress LScache Plugin: Forms Not Submitting ? Purge Cache Nightly?
Last Updated on: Wed, 15 Apr 2026 00:00:02 There has been a correlation between the caching and the forms on the website not being able to submit. Purging the cache and reloading the page will then allow the forms to submit correctly. However, the problem then persists some time later, at which time, the cache needs to be purged again for the forms to work correctly. Ive excluded the /contact-us page from the cache (one of the main forms that was not working), which will hopefully stop this issue from happening on that particular page. However, theres a form popup implemented on most pages, so excluding all pages with forms isnt an option. An example form popup is the Request Info button here: https://www.impact-displays.com/product/5ft-w-x-5ft-h-impact-stretch-fabric-display/. Although not ideal, purging the cache on a set time basis seems like it may work, how would this be implemented? That said, are there any other suggestions on ways around this issue? Note: using Divi theme by Elegant Themes for the /contact-us form and the Product Enquiry Pro for WooCommerce (A.K.A QuoteUp) plugin for the popup forms on each product page. This topic was modified 5 years, 2 months ago by troymeyer. Reason: Added additional details for themes and plugins used The page I need help with: https://www.impact-displays.com/contact-us/ Hi, @troymeyer You can set certain URLs to be purged at a particular time of day. Navigate to LiteSpeed Cache > Settings > Purge and set the Scheduled Purge URLs and Scheduled Purge Time fields. Like you said, though, this is just dealing with the symptom instead of the cause. Are the other forms you mention widgets? If so, you can enable ESI, and then make those widgets into uncached ESI blocks. Essentially what that does is it punches a hole into a cached page, and allows that content to be cached differently (or not at all). If youd like more information on how ESI works, you can check out our blog post, or leave another comment and ask Hope this helps! That plugin QuoteUp generated a ajax_nonce on that page, which is cached and caused the issue once its expired. If its widget, plz follow lisas post. If not, there are some work needed to be done by the plugin author. This is how to use cache with nonce: https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:esi_sample We have informed them about this. Thank you for the quick response! I have excluded the two of the pages that contain forms from the cache, I expect those to keep working correctly. The forms that remain are from the plugin. Ill attempt to use the link you posted to try and modify the plugin. We contacted Product Enquiry Pro about this. But its a pity we got this response even we gave the solution of the compatibility: Sagar replied Sep 29, 10:35am Hi Thank you for contacting Wisdmlabs. We do not promise compatibility with the third-party plugins. We can do the customisation in the Product Enquiry Pro to make it compatible with the plugin which will fall under the paid service we offer. If you are willing to go ahead with this, let me know so that I ask the developer to analyse the estimated costs required for the customisation. I guess if you decided to keep using that plugin, the best way is you contact them for that requirement as a customer. Best regards, Hai
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference