Okay so i'm running a speed test on my home page and get a error /warning in red -- Leverage browser caching
how can i solve this error any help
Okay so i'm running a speed test on my home page and get a error /warning in red -- Leverage browser caching how can i solve this error any help |
Not an error. It's a suggestion. A strong one. There are normally 3 color categories in these speed tests, red being the ones that would best help the speed of the site. I would like to know what you're using for testing so i can see exactly what it says. Error i am sure is not the proper term. https://www.deanbassett.com |
you are absolutely right it does not say error but for some reason i associated the red with error I'm using firefox speed tool |
I read an article on boonex about caching and in this article they make claim that by installing and turning on the cache engine your site should speed up 4-10 folds yet after having the memcache engine install we are still getting the same speed result we have upgraded to a dedicated server to increase processing and ram install cache engine and still have almost the same speed rate which is affecting our bounce rate |
Try this it worked for me. After so many work i am able to make my score 90 for my website and everything is green but Combine images into CSS sprites is still red. i will do something for it.
Add this in your root .htaccess. <IfModule mod_expires.c> # enable expirations ExpiresActive On # expire images/css/js/swf files after a month in the client's cache ExpiresByType application/x-shockwave-flash "access plus 30 days" ExpiresByType text/css "access plus 30 days" ExpiresByType text/javascript "access plus 30 days" ExpiresByType application/javascript "access plus 30 days" ExpiresByType application/x-javascript "access plus 30 days" ExpiresByType application/x-gzip "access plus 30 days" ExpiresByType image/gif "access plus 30 days" ExpiresByType image/jpeg "access plus 30 days" ExpiresByType image/png "access plus 30 days" ExpiresByType image/x-icon "access plus 30 days" ExpiresByType image/vnd.microsoft.icon "access plus 30 days" </IfModule> so much to do.... |
@Prashank25 • Thanks for the advice I will try this and keep you post |
Thanks i Tried the code and was able to get it up from 35 to 65 and was able to clear leverage browser caching to Prashank25 small error the apostrophe in clients expire images/css/js/swf files after a month in the client's cache |
thanks for that, easy fix, bumped the score, most of what is left is stuff I don't want to cange. Reapet page loads are down to 1.6 seconds - to me it looks almost instantaneous. ;) |