Google now focus page loading times as an important element in total user experience and SEO rank. To put it simply, a slow loading webpage doesn't provide for a fantastic user experience so will influence where this page shows on the hunt, where a quick loading page supplies for a great user experience so will rank high.
There are various factors involved with webpage loading time delays, but a few can be readily solved. Among the most frequent issues associated with slow page load instances is page source loading that may be readily mended with Browser Caching.
Every time a traffic comes to your website and the page displays to them, it must load several things like your logo, pictures, CSS document and lots of different sources. When you haven't leveraged browser caching your visitor must basically re-load all these resources every time that they exhibit your page -- this equates to longer load times.
Then whenever the visitor re-visits your page or a different page on your website which utilizes the exact same logo and other tools it won't need to re-load the very same resources. This causes a quicker loading time.
htaccess file in your server -- the document ought to be found in the main directory on your server (where your index file is found). Just use your favorite FTP program to find and open your own. Htaccess file and insert these lines of code into the peak of the .htaccess file and rescue:
## EXPIRES CACHING ##
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 application/x-shockwave-flash “access 1 month”
ExpiresByType image/x-icon “access 1 year”
ExpiresDefault “access 1 month”
## EXPIRES CACHING ##
All these are connected with document types, as an instance, the code says that a Png file (picture) ought to be cached for one year. If you'd like your png images cached for one month, then you'd simply replace '1 year old' with '1 month'.
One common problem to be careful of using caching is that in case you make regular changes to sources in your website -- like png graphics -- these modifications might not be viewed by your customers as a result of caching period. In such cases, you need to either reevaluate the caching interval or exclude the file/resource kind from being cached.
If you are unsure whether you already have browser caching applied on your site, utilize our Google Pagespeed Insights Checker to quantify and evaluate your loading times. In case the ensuing Page Optimization Suggestion(s) says that you ought to 'leverage browser caching' then you ought to be able to resolve with this option swiftly.