• Resolved ndd

    (@ndd)


    Hello,

    A small suggestion for this great plugin so as to improve page load time of pages that don’t have any contact form: load the header scripts only if the page contains a contact form.

    I am talking about these lines:

    http://www.example.com/wp-content/plugins/contact-form-7/includes/css/styles.css?ver=3.3.2
    http://www.example.com/wp-content/plugins/contact-form-7/includes/js/jquery.form.min.js?ver=3.23
    http://www.example.com/wp-content/plugins/contact-form-7/includes/js/scripts.js?ver=3.3.2

    This is loaded everywhere, for example in my home page even if I don’t have any contact form on it. Thus, that would be nice to remove them, and everywhere else there’s no contact form.

    Regards,

    NDD (French, sorry for my english level)

    http://wordpress.org/extend/plugins/contact-form-7/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Suggestion] Load header scripts only on contact form pages’ is closed to new replies.