Most people probably think that the only factor that affects the speed of a website is the Internet or the signal strength. The truth is that many factors can affect the ability of a website to load quickly – and many of them can be modified to improve the user experience when visiting site.This your own is very important because even a hint of hesitation can cause people to abandon your site. A study conducted in 2008 by the Aberdeen Group that a delay of less than one second results in a 16% decrease in overall user satisfaction and reduced 7% conversion rate. And 47% of Internet users expect that the page is loaded, even in a maximum of two seconds, with 40% of them said they would leave the site if the load time of up to three seconds. On the other hand, the study of Akamai found that 52% of people who shop on the Internet that claim fast download page will make them loyal to the site. Here are some tips on how to help reduce the loading time of your site.
Web pages are cluttered one slow loading. The site, which is heavy on graphics, styles, flash videos can seem to stop because every element has to make an HTTP request to download, and you must do it one by one. Web page minimum, such as the Google search page, load faster. If you can get it without the images, creating visual interest in a page using CSS. Will reduce the number of scripts on your web site is also to speed up loading time.
Some sites, such as online retail businesses, need images. When that is the case, compression, also known as zipping, can help, reducing download times and speeding up response times. Gzip is the preferred compression format of most website designers.
Make use of browser caching
If an image-heavy page is fairly static, you can improve loading time for returning visitors by employing browser caching, which tells the user’s browser to access the images already stored on the user’s hard drive in cached form. Here’s a sample of the code you would use:
ExpiresDefault “access plus 1 seconds”
ExpiresByType image/jpeg “access plus 2592000 seconds”
ExpiresByType image/png “access plus 2592000 seconds”
ExpiresByType image/gif “access plus 2592000 seconds”
ExpiresByType txt/css “access plus 604800 seconds”
ExpiresByType txt/html “access plus2592000 seconds”
# END Expire headers
# BEGIN Expire headers
This code will be for your .htaccess file.
Things can get slow if your site has to resize the images to fit every time it’s loaded. To fix this problem, scale your site’s pictures so that they can perfectly fit the page. A tool such as Photoshop will let you do this so that the image doesn’t lose quality.
Minify and combine files
These are extremely important files, as they determine your site’s appearance.
They also add to the number of requests your site makes every time a user visits it.
You can reduce this number by minifying and combining your files. This reduces the size of each file, as well as the total number of files.
This is especially important if you use a templated website builder. These make it easy to build a website, but they sometimes create messy code that can slow your site considerably.
Minifying a file involves removing unnecessary formatting, whitespace, and code.
Since every unnecessary piece of code adds to the size of your page, it’s important that you eliminate extra spaces, line breaks, and indentation. This ensures that your pages are as lean as possible.
There are several ways to minify and combine files, and if your site runs on WordPress, plugins like WP Rocket make the process fairly simple.
If you have this plugin installed, go the “Static Files” tab and check the files you want to minify and combine.