-
Notifications
You must be signed in to change notification settings - Fork 2
Exipires headers for images #16
Comments
The header logo is nearly 600kb, I'm sure you could compress that down a bit. You could always ditch the 24bit png and overlay it on the background (being as we only appear to be using it on the single background). Randomly trying online, Smush.it can get compress it down to 52kb without even changing the transparency. |
looks like the header image is 57 KB now. Looks like someone did it. 😄 |
It would still be a best practice to get far-future expires headers on the static resources, e.g. https://thomasgriffin.io/how-to-leverage-browser-caching-in-wordpress-via-htaccess/. |
This has been added to the ## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType text/x-javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 2 days"
</IfModule>
## EXPIRES CACHING ## |
Hadn't played with PageSpeed. Nice. That'll give me plenty to do to try and speed up LT. 👍 Thanks for sharing. |
site is really fast, but the logo image is huge is and is like 85% of the landing page file size.
This is from YSlow
There are 14 static components without a far-future expiration date.
The text was updated successfully, but these errors were encountered: