Cheers gents!
So i’m just adding some performance details to a small site and I’m simply trying to improve speed. So after some research, and being offered several options, I went with this little bit of code:
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript
<ifModule mod_expires.c>
ExpiresActive On
ExpiresDefault A14400
ExpiresByType image/x-icon A14400
ExpiresByType application/x-javascript A14400
ExpiresByType text/css A14400
ExpiresByType image/gif A14400
ExpiresByType image/png A14400
ExpiresByType image/jpeg A14400
ExpiresByType text/plain A14400
ExpiresByType application/pdf A14400
ExpiresByType text/html A14400
</ifModule>
After running a test, my score dropped a notch and google suggested the following:
Setting an expiry date or a maximum age in the HTTP headers for static resources instructs the browser to load previously downloaded resources from local disk rather than over the network.
so is Google essentially asking to drop a meta tag in the header with some additional details??
I’m getting up and down results right now - which is a teenie weenie annoying me. Anyhow, tutelage would be awesome.
PS - to add to the twist, when I remove the mod_expires details, I get a perf jump, but still additional warnings re: leveraging browser caching.
Thanks.