{"id":13101,"date":"2020-07-23T07:00:00","date_gmt":"2020-07-23T07:00:00","guid":{"rendered":"https:\/\/www.improvemysearchranking.com\/?p=13101"},"modified":"2024-10-31T11:37:56","modified_gmt":"2024-10-31T11:37:56","slug":"how-to-reduce-http-requests","status":"publish","type":"post","link":"https:\/\/www.improvemysearchranking.com\/how-to-reduce-http-requests\/","title":{"rendered":"How to Reduce HTTP Requests"},"content":{"rendered":"<p>How fast your website loads is important for search engines and website visitors. The loading speed of your website is an important search engine ranking factor.<\/p>\n<p>&nbsp;<\/p>\n<p><center><a href=\"https:\/\/improvemysearchranking.com\/wp-content\/uploads\/2020\/07\/reduce-http-requests.png\"><img loading=\"lazy\" class=\"aligncenter wp-image-13103\" src=\"https:\/\/improvemysearchranking.com\/wp-content\/uploads\/2020\/07\/reduce-http-requests-1024x850.png\" alt=\"reduce-http-requests\" width=\"400\" height=\"332\" \/><\/a><\/center>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">On average, the top 10 results in Google SERPs load in just 1.65 seconds. If your website takes longer to load, it will have a negative effect on its search engine rankings.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Furthermore, website visitors also do not like slow-loading websites. If a page takes too long to load, they\u2019d just quit it, go back to the search engine results page, and click on another link.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This not only sends negative signals to search engines but also makes you lose credibility, traffic, and potential revenue.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">There are several methods to improve the loading speed of your website. However, one of the big methods is by reducing HTTP requests.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">In this article, we discuss several methods about reducing HTTP requests that could help speed up your website.<\/span><\/p>\n<p><!--more--><\/p>\n<p>&nbsp;<\/p>\n<h2><b>1. Image optimisation<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">An average website uses dozens and hundreds of images. If you have an e-commerce store, there will likely be even more images because of different products.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">There are two ways you can optimise images on your website and improve the loading:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">First, delete all the unnecessary images that are no longer in use or serve an important purpose. By reducing the number of images that must be loaded on a page, you can reduce the number of HTTP requests.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Second, despite your best efforts, you will still have to use several images on your website pages. Therefore, make sure to properly optimise those images and use web-friendly versions. For example, use .jpeg instead of .png whenever possible. Also, keep the size of the images as low as possible \u2014 without sacrificing the quality of the image. All these steps will help you load the page faster.<\/span><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2><b>2. CSS and JavaScript minification<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Review your CSS and JS files, and you will notice a lot of useless code in them. That extra code slows down your website.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Minification refers to removing unnecessary code from CSS and JavaScript files, such as white space, irrelevant comments, additional characters, etc.<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><b>3. Combining JS and CSS files<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">JS and CSS minification helps, but that is not the only step you should take to speed up your website.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">You can also combine the different JS and CSS files you have. For example, if your website has 10 CSS and JS files, it would need to send 10 requests.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">If you can cut it down to 2 files, you can reduce up to 8 HTTP requests \u2014 which can have a noticeable impact on your website loading speed.<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><b>4. Reducing external scripts<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Does your website still have any plugins or scripts that you no longer use?\u00a0 For example, a Twitter feed or a Facebook conversion pixel?<\/span><\/p>\n<p><span style=\"font-weight: 400;\">These external scripts can increase the number of HTTP requests and slow down your web page.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">It is recommended to periodically analyse your website and identify external scripts that you can afford to remove.<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><b>5. Using a CDN<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">A CDN or Content Delivery Network is a worldwide network of servers. Located in different regions in the world, a content delivery network helps reduce the total number of HTTP requests by caching static content.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The CDN delivers the cached content from the closest server to the user\u2019s physical location whenever a user visits your website. Because cached content is delivered to the user, it does not have to make new requests every time the user visits a page.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">However, not every website will be benefited from a content delivery network. For example, if most of your traffic comes locally (from your neighbourhood or city), a CDN won\u2019t be necessary.<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><b>HTTP requests: the goal<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Although all websites are different and have different types of content, HubSpot suggests that an average page should not have more than 30 HTTP requests.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">We recommend identifying the total number of HTTP requests your page makes and then reduce that number with the tips mentioned in this article.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">By doing so, you can improve the loading speed of your website \u2014 which may have a direct positive impact on engagement metrics (bounce rate, average on-page time), search engine rankings, conversions, sales, and revenue.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">If you want to learn more about how to improve the loading speed of your website, read our free guide: <\/span><a href=\"https:\/\/improvemysearchranking.com\/website-load-speed-optimisation-guide\/\"><span style=\"font-weight: 400;\">The Usain Bolt Guide to Website Load Speed Optimisation<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How fast your website loads is important for search engines and website visitors. The loading speed of your website is an important search engine ranking factor. &nbsp; &nbsp; On average, the top 10 results in Google SERPs load in just 1.65 seconds. If your website takes longer to load, it will have a negative effect [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":17879,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_oct_exclude_from_cache":false,"inline_featured_image":false},"categories":[33,35],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Reduce HTTP Requests | IMSR<\/title>\n<meta name=\"description\" content=\"There are various methods to improve the loadspeed of your website. One of the best is by reducing HTTP requests. Read this article to learn!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.improvemysearchranking.com\/how-to-reduce-http-requests\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Reduce HTTP Requests | IMSR\" \/>\n<meta property=\"og:description\" content=\"There are various methods to improve the loadspeed of your website. One of the best is by reducing HTTP requests. Read this article to learn!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.improvemysearchranking.com\/how-to-reduce-http-requests\/\" \/>\n<meta property=\"og:site_name\" content=\"Improve My Search Ranking\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ImproveMySearchRanking\" \/>\n<meta property=\"article:published_time\" content=\"2020-07-23T07:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-31T11:37:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.improvemysearchranking.com\/wp-content\/uploads\/2021\/11\/how-to-reduce-http-requests.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1276\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Samwise Diamond\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@ImproveMySearch\" \/>\n<meta name=\"twitter:site\" content=\"@ImproveMySearch\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Samwise Diamond\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.improvemysearchranking.com\/how-to-reduce-http-requests\/\",\"url\":\"https:\/\/www.improvemysearchranking.com\/how-to-reduce-http-requests\/\",\"name\":\"How to Reduce HTTP Requests | IMSR\",\"isPartOf\":{\"@id\":\"https:\/\/www.improvemysearchranking.com\/#website\"},\"datePublished\":\"2020-07-23T07:00:00+00:00\",\"dateModified\":\"2024-10-31T11:37:56+00:00\",\"author\":{\"@id\":\"https:\/\/www.improvemysearchranking.com\/#\/schema\/person\/84666854cebd4e342f8033db55cc6c0a\"},\"description\":\"There are various methods to improve the loadspeed of your website. One of the best is by reducing HTTP requests. Read this article to learn!\",\"breadcrumb\":{\"@id\":\"https:\/\/www.improvemysearchranking.com\/how-to-reduce-http-requests\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.improvemysearchranking.com\/how-to-reduce-http-requests\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.improvemysearchranking.com\/how-to-reduce-http-requests\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.improvemysearchranking.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Reduce HTTP Requests\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.improvemysearchranking.com\/#website\",\"url\":\"https:\/\/www.improvemysearchranking.com\/\",\"name\":\"Improve My Search Ranking\",\"description\":\"Improve My Search Ranking\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.improvemysearchranking.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.improvemysearchranking.com\/#\/schema\/person\/84666854cebd4e342f8033db55cc6c0a\",\"name\":\"Samwise Diamond\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.improvemysearchranking.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/601b5d268dd944bbba7c27b0af7fec06?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/601b5d268dd944bbba7c27b0af7fec06?s=96&d=mm&r=g\",\"caption\":\"Samwise Diamond\"},\"url\":\"https:\/\/www.improvemysearchranking.com\/author\/samwise\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Reduce HTTP Requests | IMSR","description":"There are various methods to improve the loadspeed of your website. One of the best is by reducing HTTP requests. Read this article to learn!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.improvemysearchranking.com\/how-to-reduce-http-requests\/","og_locale":"en_GB","og_type":"article","og_title":"How to Reduce HTTP Requests | IMSR","og_description":"There are various methods to improve the loadspeed of your website. One of the best is by reducing HTTP requests. Read this article to learn!","og_url":"https:\/\/www.improvemysearchranking.com\/how-to-reduce-http-requests\/","og_site_name":"Improve My Search Ranking","article_publisher":"https:\/\/www.facebook.com\/ImproveMySearchRanking","article_published_time":"2020-07-23T07:00:00+00:00","article_modified_time":"2024-10-31T11:37:56+00:00","og_image":[{"width":1920,"height":1276,"url":"https:\/\/www.improvemysearchranking.com\/wp-content\/uploads\/2021\/11\/how-to-reduce-http-requests.jpg","type":"image\/jpeg"}],"author":"Samwise Diamond","twitter_card":"summary_large_image","twitter_creator":"@ImproveMySearch","twitter_site":"@ImproveMySearch","twitter_misc":{"Written by":"Samwise Diamond","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.improvemysearchranking.com\/how-to-reduce-http-requests\/","url":"https:\/\/www.improvemysearchranking.com\/how-to-reduce-http-requests\/","name":"How to Reduce HTTP Requests | IMSR","isPartOf":{"@id":"https:\/\/www.improvemysearchranking.com\/#website"},"datePublished":"2020-07-23T07:00:00+00:00","dateModified":"2024-10-31T11:37:56+00:00","author":{"@id":"https:\/\/www.improvemysearchranking.com\/#\/schema\/person\/84666854cebd4e342f8033db55cc6c0a"},"description":"There are various methods to improve the loadspeed of your website. One of the best is by reducing HTTP requests. Read this article to learn!","breadcrumb":{"@id":"https:\/\/www.improvemysearchranking.com\/how-to-reduce-http-requests\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.improvemysearchranking.com\/how-to-reduce-http-requests\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.improvemysearchranking.com\/how-to-reduce-http-requests\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.improvemysearchranking.com\/"},{"@type":"ListItem","position":2,"name":"How to Reduce HTTP Requests"}]},{"@type":"WebSite","@id":"https:\/\/www.improvemysearchranking.com\/#website","url":"https:\/\/www.improvemysearchranking.com\/","name":"Improve My Search Ranking","description":"Improve My Search Ranking","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.improvemysearchranking.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/www.improvemysearchranking.com\/#\/schema\/person\/84666854cebd4e342f8033db55cc6c0a","name":"Samwise Diamond","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.improvemysearchranking.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/601b5d268dd944bbba7c27b0af7fec06?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/601b5d268dd944bbba7c27b0af7fec06?s=96&d=mm&r=g","caption":"Samwise Diamond"},"url":"https:\/\/www.improvemysearchranking.com\/author\/samwise\/"}]}},"_links":{"self":[{"href":"https:\/\/www.improvemysearchranking.com\/wp-json\/wp\/v2\/posts\/13101"}],"collection":[{"href":"https:\/\/www.improvemysearchranking.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.improvemysearchranking.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.improvemysearchranking.com\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.improvemysearchranking.com\/wp-json\/wp\/v2\/comments?post=13101"}],"version-history":[{"count":2,"href":"https:\/\/www.improvemysearchranking.com\/wp-json\/wp\/v2\/posts\/13101\/revisions"}],"predecessor-version":[{"id":23300,"href":"https:\/\/www.improvemysearchranking.com\/wp-json\/wp\/v2\/posts\/13101\/revisions\/23300"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.improvemysearchranking.com\/wp-json\/wp\/v2\/media\/17879"}],"wp:attachment":[{"href":"https:\/\/www.improvemysearchranking.com\/wp-json\/wp\/v2\/media?parent=13101"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.improvemysearchranking.com\/wp-json\/wp\/v2\/categories?post=13101"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.improvemysearchranking.com\/wp-json\/wp\/v2\/tags?post=13101"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}