• I just realized that using wordpress adds a bunch of extra file size to my websites… not good! When I check the document size, the list includes about 75kb of scripts, including two 30kb ones:

    /wp-includes/js/jquery/jquery.form.js?ver=2.02
    wp-includes/js/jquery/jquery.js?ver=1.2.6

    Do I need these? I don’t use javascript at all, and my site works fine with javascript turned off. Why do they need to be loaded?

    The site is graphics heavy, so I need to cut the document size down wherever I can. Please help!

    This is my site: https://www.thelostworkshop.com/design

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter aemberline

    (@aemberline)

    Does nobody know anything about this or am I posting in the wrong place?

    I’m just checking what files reference those scripts for you… bear with me one minute…

    I think the admin section uses the JQuery….

    First script referenced in the following file..
    wp-includes\script-loader.php

    Second script referenced in the following files..
    wp-includes\script-loader.php
    wp-admin\js\revisions-js.php

    I can’t tell you if you can get away with removing them, however above are the only files that reference the mentioned scripts…

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    The jquery script does not get loaded into the normal public-viewable page unless your theme or one of your plugins loads it itself.

    It is needed for the admin pages, but that’s wholly different.

    Thread Starter aemberline

    (@aemberline)

    How would I be able to tell if a plugin was loading it?
    As far as I know my theme isn’t loading it – It’s a modified version of the basic theme. Does the basic theme load it?

    Go to your dashboards plugins page and then edit plugins tab. Look through the various plugin codes and see if there are any references to those files.

    Thread Starter aemberline

    (@aemberline)

    Aha! It was the Contact Form 7 plugin causing the jquery stuff to load on every page of my site. Arg!

    I really want to have a contact form, but if it’s going to add 60kb of extra bandwidth to every page then it’s not worth it. Anybody have any ideas of a better way to have a contact form?

    Thanks for all your help.

    gariben

    (@gariben)

    How do we use the Google’s jQuery library to save bandwidth?

    Thanks, Mike

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Do I need these scripts?’ is closed to new replies.