- 论坛徽章:
- 0
|
回复 2# yayu_myself
If a client disconnects during the time that Traffic Server is downloading a large object, is any of the object saved in the cache?
When a client disconnects during an HTTP operation, Traffic Server continues to download the object from the origin server for up to 10 seconds. If the transfer from the origin server completes successfully within 10 seconds after the client disconnect, then Traffic Server stores the object in cache. If the origin server download does not complete successfully within 10 seconds, then Traffic Server disconnects from the origin server and deletes the object from cache. Traffic Server does not store partial documents in the cache.
我想所谓的分段数据,应该和这种情况类似,并且我实际测试中,我用多线程下载或者直接指定数据段,确实没有缓存 |
|