reduce-HTTP-requests

How to reduce HTTP requests on your website?

14 May 2015

Reduce HTTP requests if you want to optimize loading speed for a website. Typically an HTTP request is generated by prospective viewer’s browser for all files available to receive a homogenous webpage from hosting server. Let us review why actually reducing HTTP request is so crucial, what affects it has on overall performance of website and lastly view all possible methods to reduce HTTP requests for your website.

Browser pipelining and how it helps to reduce HTTP requests

HTTP-requests-for-broswers

In case a typical web page of your website consists of multiple HTML, CSS , JavaScript and Image files, then all these files needed to be loaded on your audience browser to view complete webpage and all its constituent files.

In order to boost speed of downloading of these pages, modern day browsers are downloading 4-5 of them at same time. This practice is called Pipelining.

For CSS files and JavaScript files that are loaded in the <head> section of your site, there is an issue that browser can’t start interpreting until it has all the files that “block” it from rendering. Easiest way out of this issue is to join both these files and practically reduce HTTP requests and then transfer files at once instead of doing it separately. This will reduce blocking of page and allow them to load out of <head> section and into the body of webpage

An example can be quoted of this merger for a typical JavaScript that adds some minor functionality to your site’s footer could easily be loaded in the last bit of your HTML, so it doesn’t block a browser from starting to render your page. It creates a huge impact on perceived load time rather than having any real effect on real load time. Perhaps lessening number of files and merging them into single one actually reduces load time as well, making websites to load faster.

Reducing the number of images

improve-HTTP-requests

In case you are using a complicated theme for your website it might be utilizing several background images. CSS spriting is a method that can help your website to load all its image files into a single file.

Reducing number of javascript & CSS files loaded

Install W3 Total Cache, and then go to the “Minify” page in it settings screen. On there, scroll down a bit, and you should see two sections “JavaScript” and, right below it, “Cascading Style Sheets”. In there, you can add your respective JS and CSS files, it’ll look something like this:

If you’ve added all your CSS and JS file, W3TC will combine these files into one and minify them, meaning it will remove comments, spacing and other unneeded stuff. So you could have 5 js files and combine them into one and that will effectively reduce HTTP requests to 4. it is an easy procure to reduce HTTP requests for wordpress and related website platforms.



Latest Posts


  • web-hosting dubai, web design dubai, cloud hosting dubai

    8 Benefits of Cloud Hosting Solutions.

    23 April 2018

    If you are into business, sooner or later you will have to get a website…

  • website nevigation2017, web design dubai, web design,

     Top 5 Web Navigation Trends For 2018.

    18 April 2018

    Over the last few years, we have seen lot of changes in the way we…

  • website redesign dubai, web development dubai, website design dubai

    How Often You Should Redesign your Website?

    04 March 2018

    Website redesigning is not something that you want to do very often. However, if you…

  • web design company, web design company dubai, tips when you need web design company dubai uae

    You Know , You Need A Web Design Company When….

    28 February 2018

    With growing internet users, online presence has become essential for every type and size of…

  • web design agency dubai, web design agency uae, web design agency, reduce ounce rate tips dubai, why customers leave website

    8 Reasons Your Website is Turning Customers Away.

    25 February 2018

    Your website is live for a few months now, and on the surface, everything seems…

  • tips for SEO friendly webdesign. web design company Dubai, Web design and development

    How & Why You Should Have SEO Friendly Web Design?

    14 February 2018

    Although in the past, the actual web design of the page does not have all…

  • mobile commerce, e-commerce web design Dubai

    Mobile Commerce – The new Frontier for E-commerce?

    12 February 2018

    With the increased popularity of mobile phone devices, the trend of online shopping has increased…

  • e commerce solutions Dubai, web design dubai, web design company in Dubai

    E-Commerce Trends For 2018.

    23 January 2018

    As we are approaching to a new era of digital transformation e-commerce has gone beyond…

  • WebDesign improve conversion rate , web design dubai, web design and develpment dubai

    10 Tips to Improve Your Website Conversion Rate.

    18 January 2018

    Many people believe that setting up a website for their brand or company is enough…

Trending Updates
web-hosting dubai, web design dubai, cloud hosting dubai

If you are into business, sooner or later you will…

Read More
website nevigation2017, web design dubai, web design,

Over the last few years, we have seen lot of…

Read More
Social Channels

Testimonials


  • I contacted Whitehats through their website and was immediately served by a customer service agent. I briefly explained my concern and gave my contact details. The same day in the afternoon I was contacted by an IT engineer and we scheduled a date for a visit to my apartment. Upon arrival the next day the engineer was polite, professional and confident and got the job done in an appropriate manner. I’m very satisfied with the service provided by Whitehats and plan to contact them in case of any future services. Therefore I would also recommend them for any IT related services.

    Saba Elahi

  • Whitehats cooperation with us has been indispensible, wherever we faced problems they were very fast in assessing and rectifying the things. Their continuous support has given us immense confidence for smooth functioning. During our office premises shifting, great efforts and support from you, we were able to start operations at the new premises without any downtime. They are like 24*7 support for us.Sachin Kansal | Manager (Compliance) and MLRO,

    State Bank of India

  • Professional, Quick response, Excellent service, Dedicated team! All you need in a great business and Whitehats provides it!Didier Sloukgi | Finance & Admin. Manager

    NORTHCORP

  • We have been dealing with Whitehats for more than 3 years and we are very happy with their service!! I can call them anytime :) if we have problems.Tina Tejones | Accountant General

    ACO

  • I have known White Hats for the past four years now. They are very reliable IT Company efficient in their work and you could have them at your beck and call anytime. Besides their staff are very co-operative and accommodatingRenate Fernandes | Office Manager

    id-Studio