This post is a part 4 of HTTP/2 Complete Tutorial post series. Headers in HTTP/2 provide information about the request or response. Header take around 800 bytes of bandwidth and sometimes few KB if it carries cookies. Therefore compressing headers can reduce the bandwidth latency. So HTTP/2 introduced header compression. Header compression is not like […]
This post is a part 3 of HTTP/2 Complete Tutorial post series. Server push is a method in HTTP/2 which allows server to send multiple responses for a single request. This feature decreases the latency in loading a webpage. To make an HTTP/2 request client first checks if a TCP connection is already open or […]
This post is a part 2 of HTTP/2 Complete Tutorial post series. Multiplexing is a method in HTTP/2 by which multiple HTTP requests can be sent and responses can be received asynchronously via a single TCP connection. Multiplexing is the heart of HTTP/2 protocol. Frames and Streams HTTP/2 is a binary protocol. Every HTTP/2 request […]
This post is a part 1 of HTTP/2 Complete Tutorial post series. One of the biggest question that comes in is how is old browsers going to deal with HTTP/2 web servers and vice-versa. HTTP/2 uses an Upgrade and Discovery method to find if a server supports HTTP/2 or not. An HTTP/2 client never makes […]
HTTP/1.1 was introduced in 1999 and since then the web has changed. More people are accessing websites in mobile and tablets which have relatively slow connection and the number of external resources per page is increasing with causing increase in page load size. Although many HTTP clients and server side hacks had been implemented to […]
HTML5 localStorage lets you store key/value pairs of data. Both key and value needs to be a string. To store arrays as a key or value you need to encode the array into a JSON string. And while retrieving you need to decode it back to an array. Here is example code var array = […]
HTML5 localStorage lets you store key/value pairs of data. Both key and value needs to be a string. To store objects as a key or value you need to encode the object into a JSON string. And while retrieving you need to decode it back to an object. Here is example code var object = […]
HTML5 Audio Element provides an duration property to retrieve the length of the video file. Here is example code on how to use the property
Exit-Intent technology has been one of the most successful Internet marketing techniques. Websites use this technology to increase subscribers, sell products, social media followers etc. In this tutorial I will tell you what it is and how exactly it works. And also how to integrate this technology in your own website. What is Exit-Intent Technology? […]
Most Commented