1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Pleasing YSlow on WordPress

Discussion in 'HTML & Website Design' started by Deanysus, Mar 5, 2013.

  1. #1
    Hi,

    I'm now concentrated on the very first grade of YSlow, for which I got an F -- Make fewer HTTP requests.

    This page has 11 external Javascript scripts. Try combining them into one.
    This page has 9 external stylesheets. Try combining them into one.

    But I'm lost at how to fix this, and a lot of the solutions didn't here. Here's what I have tried so far:

    WP Minify - Screwed up the whole template. Dropped.
    JS & CSS Script Optimizer - Also didn't work properly with my WordPress. Dropped.
    Better WP Minify - Using this one now, it didn't screw up anything, but it didn't help at all either. I get the same result with HTTP requests.

    I've also put this code into the header:

    It was supposed to compress all requests into one, but nothing happened.

    Any ideas/advice on how to minimize those requests and compress JS and CSS?

    Thank you!
     
    Deanysus, Mar 5, 2013 IP
  2. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #2
    Wordpress makes too many requests and usually has too many external files. The way to "fix" that "problem" is to not use Wordpress. Or just do what everyone else does, and ignore YSlow on Wordpress sites.
     
    Rukbat, Mar 5, 2013 IP