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


  • user_expereince_dubai

    7 Factors that influence user experience.

    11 June 2018

      User experience (UX) is critical factor that plays and important role in success and…

  • AI_WebDesign

    Artificial Intelligence – New Reality in Web Development

    06 June 2018

    Artificial Intelligence has reached at a stage where we can expect it to become part…

  • eCommerce web design dubaieCommerce web design dubai

    6 Common E commerce Web Design Mistakes to Avoid.

    04 June 2018

    Technological advancements have opened new avenues for business and ecommerce is one of them. The…

  • responsive-web-designdubai

    6 Things to Consider When Designing a Responsive Website

    28 May 2018

    In the past, when people were using internet only on their computers, they were pretty…

  • webconversiondubai tips, improve conversin tips

    15 Tips to Optimize Conversion through Checkout Pages!

    22 May 2018

    When it comes to conversion rate, no one wants to leave this aspect neglected. It…

  • ecommerece_design_tips_dubai

    7 Tips for Better ECommerce Web Design

    17 May 2018

      Growing use of internet, mobile and most importantly access to latest gadgets has resulted…

  • mobile_friendly_webdesign tips dubai uae

    7 Tips For A Mobile Friendly Web Design

    10 May 2018

    Mobile friendly web design is essential .As you might already be aware of Google`s latest…

  • Landing page conversion rate tips

    5 Tips to Improve Landing Page Conversion rates.

    07 May 2018

    Websites are emerging as one of the most important asset for your business marketing and…

  • improve website speed. web design dubai

    5 Ways to Speed up your Website.

    03 May 2018

    Fast loading website is not only important for search engine ranking, but also required for…

Trending Updates
user_expereince_dubai

  User experience (UX) is critical factor that plays and…

Read More
AI_WebDesign

Artificial Intelligence has reached at a stage where we can…

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