7

YSlow - Giving Fs for Expire and Compression, but response headers appear correct

view full story
linux-howto

http://serverfault.com – I just moved a moderately busy wordpress site from shared hosting to a VPS server with 512MB ram and attempting to performance tune before I break down and buy another VPS to lighten the load. As such I am scouring the net for performance tips for nginx and came across 'gzip' and 'expires max'. From some examples I have seen, and tinkering, I made the following changes and they appear to be working correctly, but YSlow states differently. # Entry in nginx vhost.conf location /wp-content { alias /home/src/web/app/melikedev/current/code/web/wp-content/; expires max; add_header Prag (HowTos)