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.
我想所謂的分段數(shù)據(jù),應(yīng)該和這種情況類似,并且我實(shí)際測試中,我用多線程下載或者直接指定數(shù)據(jù)段,確實(shí)沒有緩存作者: aaaaaa 時間: 2011-08-02 12:00
所有大文件的cache都強(qiáng)烈建議開啟read while writer,所謂的連接中斷效果。 http://www.ogre.com/node/386