Minify JS not working (contact form 7)
-
I am getting the error:
“Serve resources from a consistent URL” in gtmetrix because of Contact Form 7.
https://ibb.co/F8nC1g7I can fix this by excluding:
wp-content/plugins/contact-form-7/includes/js/scripts.js
In the minify settings.
My jQuery also doesn’t load with minify settings on.
I can fix this by adding:
wp-includes/js/jquery/jquery.js
to the minify settings.
When I have just the Contact Form 7 JS file excluded in the minify settings, I can fix the error in gtmetrix. When I add the jQuery JS file, I get the error again in gtmetrix, but jQuery works.
See picture:
https://ibb.co/jV8nbt6I am using Auto mode.
All settings:
https://ibb.co/s3spdwq
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Minify JS not working (contact form 7)’ is closed to new replies.