Support » Fixing WordPress » Do I need these scripts?

  • 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:


    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:

Viewing 8 replies - 1 through 8 (of 8 total)
  • 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..

    Second script referenced in the following files..

    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) 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.

    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.

    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.

    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.