Yslow score: Add Expires headers - Configure entity tags (ETags) - Make fewer HTTP requests

Events happening in the community are now at Drupal community events on www.drupal.org.
jvieille's picture

I am trying to optimize my sites
- D6 multisites one codebase, separate databases
- APC, cacherouter, Authcache, Boost

Yslow rates F for the followings

Grade F on Make fewer HTTP requests
This page has 3 external stylesheets. Try combining them into one.
This page has 22 external background images. Try combining them with CSS sprites.

Grade F on Add Expires headers
There are 41 static components without a far-future expiration date.

Grade F on Configure entity tags (ETags)
There are 40 components with misconfigured ETags

Is this important? How to improve?

thanks

Comments

A lot of that can be

This article should help

btopro's picture

http://www.morningtime.com/Drupal-6x-Performance-Guide/513

Gives you lots of tips about overall performance both in terms of best practices, module selection and serve configuration. I think I had 90+ on Yslow and 95+ on Google PageSpeed. ETags and some of the projects mentioned above definitely help. When doing a CDN I also had a static.mysite.com which was configured to only send "static" data so it would never recheck the things coming across there (images). Great for production environments.

This article really helped

vasrush's picture

"Morning time" link is a treasure.
Thanks

Yslow A after fixing Etags

JohnnyW's picture

in htaccess file, for root domain, just add this to it

<ifModule mod_headers.c>
Header unset ETag
</ifModule>
FileETag None

Clear cache, that's it :)

Fixing Etags

khanis's picture

My hosting plan is with godaddy and my server is windows, shall i implement this same thing in my webconfig file. .htaccess is not working for me.
www.limraseoweb.com
Please let me know..

Removing ETags through the web.config

themic8's picture

Khanis,

Here is a post to help you: http://www.saotn.org/remove-etags-http-header/

here's my magic performance

btopro's picture

here's my magic performance conf file; should be able to throw that into an .htaccess file as well if on shared hosting

https://github.com/btopro/elmsln/blob/master/docs/zzz_performance.conf

Thank you!

themic8's picture

Thanks for the update!

High performance

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: