Search the web
Sign In
New User? Sign Up
exceptional-performance · Exceptional Performance
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
YSlow and Wordpress plugins   Message List  
Reply | Forward Message #1294 of 1353 |
Hi y'all.

When I run YSlow/FireBug on my Wordpress-CMS driven site, I get a 'bad grade' (a 'B') for "Put javascript at bottom"; the offending javascript  is inserted on-the-fly by Wordpress plugins (IntenseDebate comments and some quantserve malakies that I don't like but can't get rid of).

I'm pleased with the progress that YSlow's tips have helped me make with my site (after combining images into sprites yesterday the overall score - based on it being a smll site or blog - was 97), but these stupid javascript tags can't be moved without diving into the code of the plugin itself, which I think might be a bad idea.

And another thing (again related to plugins, Wordpress and YSlow):  when I 'ramp up' the criteria (to the YSlow (V2) set) I get a 'B' overall (score:87) with a big fat D  for no expires headers... AGAIN, the only elements that violate are elements in the plugin set.

(I also get an 'F' for not using a CDN... that can be ignored for the moment).

It strikes me that perhaps someone in the YDG needs to talk to someone at Wordpress and convince them to let the word ring our around the cloisters that plugin developers should embed their javascript hooks in the FOOTER rather than the header (the default behaviour for ) by using the $in_footer parameter.

It would be a waste of time if I tried to be the point man for a 'use the footer parameter' crusade, because I'm just some dill out in the interwebs.

Cheers


GT


Sat Nov 7, 2009 12:57 am

transom1
Offline Offline
Send Email Send Email

Forward
Message #1294 of 1353 |
Expand Messages Author Sort by Date

Hi y'all. When I run YSlow/FireBug on my Wordpress-CMS driven site, I get a 'bad grade' (a 'B') for "Put javascript at bottom"; the offending javascript is...
GT
transom1
Offline Send Email
Nov 7, 2009
12:57 am

Unfortunately, it's not always that easy to move code down below, but i agree, that better handling of JavaScript is a good idea for many open source projects...
Sergey Chernyshev
sergeycherny...
Offline Send Email
Nov 7, 2009
3:45 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help