why jquery loads in single posts? (4 posts)

  1. neuville
    Posted 7 years ago #

    just a quick question: why jquery loads in single posts and not in index?

    it adds a great load to the page (about 35kb); I'm currently optimizing my blog, and noticed this using YSlow...

    is it necessary for single or I can get rid of it? how?

    thanks in advance for help! :-)

  2. alexleonard
    Posted 7 years ago #

    Please post a link to your site to help us have a look.

  3. neuville
    Posted 7 years ago #


    if you look at the index the jquery is not loaded; running YSlow I notice it's loaded on single posts...

  4. alexleonard
    Posted 7 years ago #

    Well it's got to be something to do with a plugin that is only displaying info on single posts requiring the jquery library

    On single you have this in your head:

    <script src="http://www.adverbox.com/admin/wordpress/wp-includes/js/jquery/jquery.js?ver=1.2.6" type="text/javascript">
    <script src="http://www.adverbox.com/admin/wordpress/wp-includes/js/jquery/suggest.js?ver=1.1b" type="text/javascript">

    I've got to run and finish cooking dinner right now so I can't be sure what is calling the jquery, but I can only assume it's a widget or plugin that only comes into effect on the single page.

    That does make me thing that it's probably necessary, but I can't be sure.

Topic Closed

This topic has been closed to new replies.

About this Topic