Multiple Ajax requests for same URL

后端 未结 2 1105
梦谈多话
梦谈多话 2020-11-30 11:56

I make asynchronous call for same URL for multiple times, But the response came as sequentially. Please see the attached image, The request has been started only after first

2条回答
  •  青春惊慌失措
    2020-11-30 12:28

    Necko's cache can only handle one writer per cache entry. So if you make multiple requests for the same URL, the first one will open the cache entry for writing and the later ones will block on the cache entry open until the first one finishes. There's work ongoing to rearchitect the cache to remove this restriction.

提交回复
热议问题