Hi @mginop,
Powered Cache does not cache JavaScript files directly. However, if you mean excluding those files from JS optimization, you can add patterns like these:
/gravityforms/js/(.*)
/wp-gateways/(.*)
Also, if those forms rely on nonces, expired nonces may cause submission issues when the page is cached for too long. In that case, I recommend keeping the page cache TTL under 12 hours, or excluding the specific page where the forms are embedded from page cache.
If you can share the page URL, I’d be happy to take a look.
Regards,
Thread Starter
MCGWD
(@mginop)
Thanks for the quick reply ! I’m not using any JavaScript optimization nor am I minifying the html. You can take a look at the page at: https://www.drivingright.org/graduated-driver-licensing/segment-1-mason-high-school/registration/
Note I just use 4111111111111111 for the credit card number, and wait for error message. But it never arrives as the form just hangs.
Also the correct directories are:
/wp-content/plugins/gravityforms/js/(.*)
/wp-content/plugins/gravityforms-authorize-net-gateway/js/(.*)
-
This reply was modified 1 day, 4 hours ago by
MCGWD.
I couldn’t reach the page. It returned ERR_CONNECTION_TIMED_OUT after a long wait.
I also tried bypassing Powered Cache by adding ?nopoweredcache=1 to the end of the URL, but the issue still persisted.Could you please check the server error logs and see if there is anything related?
Thread Starter
MCGWD
(@mginop)
Thanks for checking. I didn’t see an issue with the site being unavailable. I think I have this issue resolved now. Thanks for the support quick and response anyways!
-
This reply was modified 3 hours, 43 minutes ago by
MCGWD.