Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

CSS and JS

$
0
0

Replies: 0

Hi,

I’ve been looking for ways to optimize my site’s loading time. I noticed that Contact Form 7 files are taking too long to load, namely in the Home where there’s no form whatsoever.

I read the following:

1) https://contactform7.com/loading-javascript-and-stylesheet-only-when-it-is-necessary/
2) https://contactform7.com/controlling-behavior-by-setting-constants/
3) https://wordpress.org/support/topic/contact-form-7-loads-js-and-css-at-all-pages/

Step 2) in #1 above doesn’t quite work for me as I’m not using a page template that is specific to the contact page… Or am I missing something?

As to the solution offered at the end of 3): is it still valid 3 years on?

Lastly, do you have any solution in the works that allows enabling this in the plugin options?

Thanks for the (nearly perfect) plugin!

  • This topic was modified 22 minutes ago by ecabral. Reason: submitted by mistake
  • This topic was modified 19 minutes ago by ecabral.

Viewing all articles
Browse latest Browse all 59525

Trending Articles