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


  • 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…

  • web design dubai, competative analysis

    How Competitor Analysis Can Improve Your Website?

    10 January 2018

    The race of having most attractive and visually appealing website is growing.  Since more and…

  • whitehats design Duba, Web design company, Web design Dubai, color scheme generator

    7 Best Web Based Color Scheme Generator for your Website.

    09 January 2018

    In today`s business world having a web presence is an essential part of your branding…

  • web hosting dubai, cloud hosting dubai, web design dubai, web design company dubai

    Top 5 Features you should look for in Web hosting service

    02 January 2018

    A web host or web hosting services are important for your business as they provide…

  • reasons to choose custom web design, web design dubai, web design dubai

    5 Reasons You should Choose Custom Web Design?

    31 December 2017

    A custom web design provides a unique identity to your brand, as compared to a…

  • web hosting service, web design dubai, web design company

    How to Choose the Right Web Hosting for your Website?

    19 December 2017

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

Although in the past, the actual web design of the…

Read More
mobile commerce, e-commerce web design Dubai

With the increased popularity of mobile phone devices, the trend…

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