ajax - Joining concurrent/identical HTTP GET requests? -


Do the browsers get similar HTTP GET requests at once? At least, for static or cache-capable content?

That is, if something happens:

 | AJAX / HTTP-GET (resourceX) | [Download Start] ------------------------------------------- & gt ; [Full download] | | AJAX / HTTP-GET (resourceX) | [Start Download] ---------> Etc. ... ... + ------------------------------------------ ------- ----------------- & gt; Time  

The browser will know "Hey, you are already trying to download resource resources! Do not try to download it twice, it will not do anything!"?

** Update:

Now, I can try to download a large file by going to some site (like "Bigfile"), and click on the link twice; This (duplicate) will download both BigFile and BigFile (1). Valid, this is an error in the part of the user, but still ...

For cache-capable resources (for example, downloading some javascript file), it seems that the browser is duplicating these Can not understand ..

The browser will not notice it works like regular HTTP traffic. When this is first expired (if the appropriate cache-control fields are set), but also, no. It may

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -