Do what the priest tells you, not what the priest does. And use common sense!


***Share if you enjoyed the article! Thanks.

All sites are improvable. But you’d expect that the biggest sites on the planet would score highest, close to perfection. After all, they are the best practice, right? They have the smartest brains, the most money, the biggest expertise. Dammit, they even created parts of the internet, just as we know it. So, as best practice, should be as closed to perfection?

Wrong.

They are far from perfection, including the perfection that THEY defined! Including Google, Amazon, Facebook, Yahoo, Apple, Live and so on..

Example 1: Page speed results

– measured with Google Page Speed Test Tool: http://developers.google.com/speed/pagespeed/insights/. Conclusion: Do what the priest tells you, not what the priest does.:)

 

Example 2: W3C Markup Validation:

http://validator.w3.org/ Amazon is the creepiest…

Example 3: Mobile versions (or at least responsive layouts).

Check out Apple how it looks on its own device – iPhone – you have to have good vision.

apple-mobileSo, just use your common sense when it comes to optimization. At some point, there is just a trade-off you must do in order to reach your objectives. Perfection is utopia. 🙂

Later edit: Some nice code that will increase your Google Page Speed grade by 10 pp at least:

## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg “access plus 1 year”
ExpiresByType image/jpeg “access plus 1 year”
ExpiresByType image/gif “access plus 1 year”
ExpiresByType image/png “access plus 1 year”
ExpiresByType text/css “access plus 1 month”
ExpiresByType application/pdf “access plus 1 month”
ExpiresByType text/x-javascript “access plus 1 month”
ExpiresByType application/x-shockwave-flash “access plus 1 month”
ExpiresByType image/x-icon “access plus 1 year”
 
# Add correct content-type for fonts
AddType application/vnd.ms-fontobject .eot
AddType application/x-font-ttf .ttf
AddType application/x-font-opentype .otf
AddType application/x-font-woff .woff
AddType image/svg+xml .svg
 
# Compress compressible fonts
AddOutputFilterByType DEFLATE application/x-font-ttf application/x-font-opentype image/svg+xml
 
# Add a far future Expires header for fonts
ExpiresByType application/vnd.ms-fontobject “access plus 1 year”
ExpiresByType application/x-font-ttf “access plus 1 year”
ExpiresByType application/x-font-opentype “access plus 1 year”
ExpiresByType application/x-font-woff “access plus 1 year”
ExpiresByType image/svg+xml “access plus 1 year”
 
</IfModule>
## EXPIRES CACHING ##
## 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 text/html “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 1 month”
</IfModule>
## EXPIRES CACHING ##

Similar Posts:


***Share if you enjoyed the article! Thanks