Guys,
This went from a question to free advice...I kinda did my site backwards.
I built it laden with java, css and extensions then decided to seo it ...ooops!
I've corrected all this.... This might get deleted, I don't know?
You need to compress site by:
1. Enabling compression ( you most likely have Gzip installed on server already) call your host and they will
enable that or mod_deflate depending on your server type. This will compress, Minify CSS, javascript and html.
2. Leverage browser caching:
you need to set an expiry date on your images,css and java
go to .htaccess file on server and add this:
<IfModule mod_expires.c>
# Enable expirations
ExpiresActive On
# Default directive
ExpiresDefault "access plus 1 month"
# My favicon
ExpiresByType image/x-icon "access plus 1 year”
# Images
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/jpg "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
# CSS
ExpiresByType text/css "access 1 month”
# Javascript
ExpiresByType application/javascript "access plus 1 year"
</IfModule>
3. Eliminate render-blocking JavaScript and CSS in above-the-fold content
To do this go to https://developers.google.com/speed/pagespeed/insights/
it will test your pages for speed and a lot more.
it will give you downloadable files to tweak your files but you can't edit code in
wb you have to hard code it directly to your server in a browser.
PS.Global replace is a lot easier than editing a page at a time!
I may be blabbing here, Hope it helps someone!
Free Advice to Compress Site
Re: Free Advice to Compress Site
wb 12
I just wanted to say thank you for the .htaccess code snippet. I now have 100% mobile 100% Desktop
I just wanted to say thank you for the .htaccess code snippet. I now have 100% mobile 100% Desktop