Difference between Persistent HTTP and Nonpersistent HTTP



Persistent HTTP vs Nonpersistent HTTP:

Difference between persistent and nonpersistent HTTP are given below :

Persistent HTTP:


  1. Multiple objects can be sent over a single TCP  connection between client and server.
  2. As little as one RTT for all the referenced objects.
  3. HTTP/1.1 uses persistent  connections in default mode.
Nonpersistent HTTP:

  1. At most one object is sent over a TCP connection.
  2. Requires 2 RTTs per object.
  3. HTTP/1.0 uses nonpersistent HTTP.



Comments

Popular posts from this blog

How to solve an 8 puzzle problem using A* Algorithm in python

Timus Online Judge 1000. A+B Problem question and SOLVE with sudo code

URI Online Judge | 1013 The Greatest Solve with source code