{"id":27387,"date":"2022-01-27T18:43:29","date_gmt":"2022-01-27T13:13:29","guid":{"rendered":"https:\/\/golocalclassified.com\/article\/?p=27387"},"modified":"2022-01-27T18:43:31","modified_gmt":"2022-01-27T13:13:31","slug":"how-to-improve-website-loading-speed","status":"publish","type":"post","link":"https:\/\/golocalclassified.com\/article\/how-to-improve-website-loading-speed\/","title":{"rendered":"How to improve website loading speed"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"how-to-speed-up-your-website\"><b><span data-contrast=\"auto\">How to speed up your website<\/span><\/b><span data-ccp-props=\"{&quot;335559738&quot;:299,&quot;335559739&quot;:299}\">&nbsp;<\/span><\/h2>\n\n\n\n<p><span data-contrast=\"auto\">You can take a number of steps to increase speed and improve user experience depending on the factors that influence how long each page takes to load on your site.<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<p><span data-contrast=\"auto\">We&#8217;re going to talk about tips and best practices for improving your site&#8217;s performance and making it load faster in this post.<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<p><span data-contrast=\"auto\">You may not need to do all of these tips right now, but they can help your site speed.<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<p><span data-contrast=\"auto\">It is possible that your site already follows some of these best practices if you&#8217;ve worked on them in the past.<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<p><span data-contrast=\"auto\">Now that we have that in mind, let&#8217;s begin.<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"minimize-http-requests\"><b><span data-contrast=\"auto\">Minimize HTTP requests<\/span><\/b><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/h2>\n\n\n\n<p><span data-contrast=\"auto\">In an estimation, images, stylesheets, and scripts consume about 80% of a Web page&#8217;s loading time.<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<p><span data-contrast=\"auto\">There is an HTTP request made for each component on the page, so rendering the page will take longer the more there are.<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<p><span data-contrast=\"auto\">When attempting to minimize requests, you should consider your site&#8217;s current request number as a benchmark.<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<p><span data-contrast=\"auto\">If you use the Developer Tools in Google Chrome, you can see how many HTTP requests your site makes.<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<p><span data-contrast=\"auto\">When you have selected the page you wish to analyze, click &#8220;Inspect&#8221; and then &#8220;Network&#8221;.&nbsp;<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"minify-and-combine-files\"><b><span data-contrast=\"auto\">Minify and combine files<\/span><\/b><span data-ccp-props=\"{&quot;335559738&quot;:281,&quot;335559739&quot;:281}\">&nbsp;<\/span><\/h2>\n\n\n\n<p><span data-contrast=\"auto\">You can start reducing your website&#8217;s request count now that you know how many requests it makes. You should start by looking at your HTML, CSS, and JavaScript files.<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<p><span data-contrast=\"auto\">Those files determine the look of your site, so they are extremely important.<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<p><span data-contrast=\"auto\">Every time a user visits your site, they also create more requests on your server.<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<p><span data-contrast=\"auto\">&#8220;Minifying&#8221; and merging your files will help reduce this number. The size of each file as well as the overall number of files decreases with this method.<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<p><span data-contrast=\"auto\">Use a template-driven website builder if you want to accomplish this. Although these tools simplify the process of building a website, they can create messy codes, which can considerably slow it down.<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<p><span data-contrast=\"auto\">Minifying a file is the process of removing unnecessary whitespace, formatting, and code.<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"use-asynchronous-loading-for-css-and-javascript-files\"><b><span data-contrast=\"auto\">Use asynchronous loading for CSS and JavaScript files<\/span><\/b><span data-ccp-props=\"{&quot;335559738&quot;:281,&quot;335559739&quot;:281}\">&nbsp;<\/span><\/h2>\n\n\n\n<p><span data-contrast=\"auto\">If you minify and combine some of your files, you can also optimize the way that your pages load once they are optimized.<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<p><span data-contrast=\"auto\">Asynchronously and synchronously are two methods of loading scripts such as CSS and JavaScript .<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<p><span data-contrast=\"auto\">The scripts will load one after another in the order they appear on the page if you choose synchronous loading. In contrast, some scripts will load simultaneously if they are loaded asynchronously.<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<p><span data-contrast=\"auto\">Having files load asynchronously can make pages load faster because a browser typically loads from top to bottom while it loads a page.<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<p><span data-contrast=\"auto\">Once a CSS or JavaScript file does not load asynchronously, the loading will stop until that particular file has fully loaded. By loading that same file asynchronously, the browser could continue to load other elements on the page simultaneously.<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"defer-javascript-loading\"><b><span data-contrast=\"auto\">Defer JavaScript loading<\/span><\/b><span data-ccp-props=\"{&quot;335559738&quot;:281,&quot;335559739&quot;:281}\">&nbsp;<\/span><\/h2>\n\n\n\n<p><span data-contrast=\"auto\">Deferring files means waiting for them to load after other elements have completed loading. You can ensure that your content, including JavaScript, loads without delay if you defer it.<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<p><span data-contrast=\"auto\">The WP Rocket plugin mentioned above can be used to enable delayed JavaScript loading easily on a WordPress site. You can defer loading JS files by checking the box next to &#8220;Load JS files deferred.&#8221;<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<p><span data-contrast=\"auto\">To call an external JavaScript file from an HTML site, you should place the call just before the &lt;\/body&gt; tag.<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"minimize-time-to-first-byte\"><b><span data-contrast=\"auto\">Minimize time to first byte<\/span><\/b><span data-ccp-props=\"{&quot;335559738&quot;:281,&quot;335559739&quot;:281}\">&nbsp;<\/span><\/h2>\n\n\n\n<p><span data-contrast=\"auto\">Furthermore, you should check the amount of time it takes for your page to start loading as well as how long it takes your page to load fully.<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<p><span data-contrast=\"auto\">The time it takes for a browser to get its first byte of data from the server, or time to the first byte is known as the time to the first byte. TTFB should be under 200 ms according to Google.<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<p><span data-contrast=\"auto\">This is a server-side concern, as opposed to front-end factors most site owners concentrate on.<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<p><span data-contrast=\"auto\">Your site will be visited by a user whose web browser sends an HTTP request to the server hosting it. In order for the first byte of data to be received, there is a three-step process to follow:<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<ol class=\"wp-block-list\"><li data-leveltext=\"%1.\" data-font=\"\" data-listid=\"1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">DNS lookup<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559991&quot;:280}\">&nbsp;<\/span><\/li><li data-leveltext=\"%1.\" data-font=\"\" data-listid=\"1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><span data-contrast=\"auto\">Server processing<\/span><span data-ccp-props=\"{&quot;335559991&quot;:280}\">&nbsp;<\/span><\/li><li data-leveltext=\"%1.\" data-font=\"\" data-listid=\"1\" data-aria-posinset=\"3\" data-aria-level=\"1\"><span data-contrast=\"auto\">Response<\/span><span data-ccp-props=\"{&quot;335559739&quot;:240,&quot;335559991&quot;:280}\">&nbsp;<\/span><\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"reduce-server-response-time\"><b><span data-contrast=\"auto\">Reduce server response time<\/span><\/b><span data-ccp-props=\"{&quot;335559738&quot;:281,&quot;335559739&quot;:281}\">&nbsp;<\/span><\/h2>\n\n\n\n<p><span data-contrast=\"auto\">It takes a long time for your DNS lookup to finish, which plays a major role in how quickly your page loads.<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<p><span data-contrast=\"auto\">The Domain Name System, or DNS, is a server that contains a database of IP addresses and the hostnames they correspond to. A DNS server is what converts a URL into an IP address so that you can locate the site online when you type it into your browser.<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<p><span data-contrast=\"auto\">Hence, a DNS record lookup is finding a specific record within a DNS system. This is analogous to your computer searching the phone book for the number you want to call.<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"choose-the-right-hosting-option-for-your-needs\"><b><span data-contrast=\"auto\">Choose the right hosting option for your needs<\/span><\/b><span data-ccp-props=\"{&quot;335559738&quot;:281,&quot;335559739&quot;:281}\">&nbsp;<\/span><\/h2>\n\n\n\n<p><span data-contrast=\"auto\">The cheapest hosting option is most often chosen by new site owners. In the early stages, this usually works just fine, but once you start getting more traffic, you&#8217;ll likely need to upgrade. Choose a host who you can trust and do not skimp on quality. A review of the best web hosts can be found on this page.<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<p><span data-contrast=\"auto\">Three options are available when it comes to hosting:<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"2\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">Shared hosting<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559991&quot;:204}\">&nbsp;<\/span><\/li><li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"2\" data-aria-posinset=\"2\" data-aria-level=\"1\"><span data-contrast=\"auto\">VPS hosting<\/span><span data-ccp-props=\"{&quot;335559991&quot;:204}\">&nbsp;<\/span><\/li><li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"2\" data-aria-posinset=\"3\" data-aria-level=\"1\"><span data-contrast=\"auto\">Dedicated server<\/span><span data-ccp-props=\"{&quot;335559739&quot;:240,&quot;335559991&quot;:204}\">&nbsp;<\/span><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"run-a-compression-audit\"><b><span data-contrast=\"auto\">Run a compression audit<\/span><\/b><span data-ccp-props=\"{&quot;335559738&quot;:281,&quot;335559739&quot;:281}\">&nbsp;<\/span><\/h2>\n\n\n\n<p><span data-contrast=\"auto\">To get the smallest files possible without sacrificing quality, you should make them as small as possible. Your files will load faster and your loading time will be slashed if they are smaller.<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<p><span data-contrast=\"auto\">The size of pages containing lots of images and other content can easily exceed 100KB. Because they take so long to download, they&#8217;re large and slow.<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<p><span data-contrast=\"auto\">Compressing downloads speeds up the process.<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"enable-compression\"><b><span data-contrast=\"auto\">Enable compression<\/span><\/b><span data-ccp-props=\"{&quot;335559738&quot;:281,&quot;335559739&quot;:281}\">&nbsp;<\/span><\/h2>\n\n\n\n<p><span data-contrast=\"auto\">Having smaller files will speed up the loading of your website. A common practice today is to enable file compression via Gzip, which is considered standard practice for reducing load times.<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<p><span data-contrast=\"auto\">It uses the Gzip file format to modify your text files by locating and replacing similar strings of code so the files can be compressed.<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<p><span data-contrast=\"auto\">As CSS and HTML typically contain repeated code and whitespace, these files work well with this approach.<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<p><span data-contrast=\"auto\">In most web servers, files can be compressed in Gzip format before being sent for download, either by using a third-party module or by calling built-in routines. Yahoo cites download times reduced by approximately 70% when this is done this way.<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<p><span data-contrast=\"auto\">Gzip is the standard compression algorithm used by 90% of today&#8217;s internet browsers, so it&#8217;s an excellent way to improve your site&#8217;s performance.<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"enable-browser-caching\"><b><span data-contrast=\"auto\">Enable browser caching<\/span><\/b><span data-ccp-props=\"{&quot;335559738&quot;:281,&quot;335559739&quot;:281}\">&nbsp;<\/span><\/h2>\n\n\n\n<p><span data-contrast=\"auto\">In a cache or temporary storage, the elements of a website are stored on your computer when you visit it.<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<p><span data-contrast=\"auto\">You will not have to send another HTTP request to the server the next time you visit the site.<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<p><span data-contrast=\"auto\">Your website requires that your visitors download HTML, stylesheets, javascript files, and images prior to using it for the first time. As many as 30 components may be downloaded over the course of 2.5 seconds. A few components need to be downloaded if a user returns to the page after a previous load. After the page has been loaded and the components are stored in the user&#8217;s cache, the page does not need to be reloaded.<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"reduce-image-sizes\"><b><span data-contrast=\"auto\">Reduce image sizes<\/span><\/b><span data-ccp-props=\"{&quot;335559738&quot;:281,&quot;335559739&quot;:281}\">&nbsp;<\/span><\/h2>\n\n\n\n<p><span data-contrast=\"auto\">The images on your site can have a huge impact on how fast your site is. These files are usually very large, causing page loading times to slow down.<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<p><span data-contrast=\"auto\">Nonetheless, they should not be removed entirely.<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<p><span data-contrast=\"auto\">Approximately 1-3% of eCommerce websites convert, on average<\/span><span data-ccp-props=\"{&quot;335559738&quot;:240,&quot;335559739&quot;:240}\">&nbsp;<\/span><\/p>\n\n\n\n<p><span data-contrast=\"auto\">However, for some sites, such as an affordable website design company like <strong><a href=\"https:\/\/designzoned.com\/services\/affordable-website-design-company\/\" target=\"_blank\" rel=\"noreferrer noopener\">Thedesignzoned<\/a><\/strong>. To reach an average conversion rate of about 5%, with approximately 85% of those conversions coming from mobile &#8211; that number can rise as high as 5%.<\/span> <span data-contrast=\"auto\">Including as many helpful product images as possible is one of the best strategies to get your conversion rate up to this level. A consumer survey found that 66% of respondents preferred seeing a minimum of three photos before making a purchase.\u00a0<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>It is possible that your site already follows some of these best practices if you&#8217;ve worked on them in the past.<\/p>\n","protected":false},"author":26230,"featured_media":27386,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32],"tags":[7090,7089,1615,6918,6915,7123],"class_list":["post-27387","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-digital-marketing","tag-affordable-website-design-agency","tag-affordable-website-design-company","tag-best-website-design","tag-creative-design-agency","tag-design-agency","tag-improve-website-speed"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/golocalclassified.com\/article\/wp-json\/wp\/v2\/posts\/27387","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/golocalclassified.com\/article\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/golocalclassified.com\/article\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/golocalclassified.com\/article\/wp-json\/wp\/v2\/users\/26230"}],"replies":[{"embeddable":true,"href":"https:\/\/golocalclassified.com\/article\/wp-json\/wp\/v2\/comments?post=27387"}],"version-history":[{"count":0,"href":"https:\/\/golocalclassified.com\/article\/wp-json\/wp\/v2\/posts\/27387\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/golocalclassified.com\/article\/wp-json\/wp\/v2\/media\/27386"}],"wp:attachment":[{"href":"https:\/\/golocalclassified.com\/article\/wp-json\/wp\/v2\/media?parent=27387"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/golocalclassified.com\/article\/wp-json\/wp\/v2\/categories?post=27387"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/golocalclassified.com\/article\/wp-json\/wp\/v2\/tags?post=27387"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}