Quick summary
Visitors were seeing a form with reCAPTCHA stuck or missing. Targeted changes to delayed-script handling allowed it to initialize during clean-visitor retesting while the broader optimization configuration remained in place.
The problem
A homepage form showed a spinning or missing reCAPTCHA widget for logged-out visitors because its form scripts were being delayed in the wrong dependency order.
What I checked
- Logged-in and clean logged-out form behavior
- Browser console errors and script execution order
- Form-plugin, reCAPTCHA, and jQuery dependencies
- Optimization-plugin delay settings
- Cached output before and after configuration changes
What I changed
- Added narrow delay exclusions for the form, reCAPTCHA, variables, and jQuery scripts
- Purged and rebuilt the optimized cache
- Retested the form from a clean visitor session
- Verified the widget initializes automatically without new console errors
Result
The CAPTCHA and form now initialize in the correct order while the rest of the page keeps its performance optimizations.
How this relates to your project
A form that works differently for visitors may need more than a settings change. WordPress contact-form troubleshooting checks the public submission path; broader WordPress troubleshooting covers the surrounding plugin and script interactions.
What I'd watch next
- Whether optimization-plugin updates rename or rebundle the excluded files
- Whether future form add-ons introduce another dependency
- Whether cache rebuilds preserve the exclusion rules