I have a small site hosted on Dreamhost.
Yslow Score with default setting is C, or 77.
Later I do the following optimization to increase it to B, or 89. Based on Yslow v2 test.
The key is to change .htaccess file.
Put following content into .htaccess file on root of the site.
ExpiresByType text/css A8640000
ExpiresByType image/x-icon A8640000
ExpiresByType image/gif A6048000
ExpiresByType image/png A6048000
ExpiresByType image/jpeg A6048000
ExpiresByType application/pdf A6048000
ExpiresByType text/html A300
The second improvement I made is do not use external domain’s images. Put all images on the same site. It reduce the DNS loolup time.
It took me about 10 minutes to implement this optimization.