cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
379
Views
0
Helpful
2
Replies

Would a cache engine cache an incomplete file download ?

admin_2
Level 3
Level 3

Hello,

I recently tried to download a large file from the internet and half way through

I cancelled it. Later on I downloaded the file again, can anyone tell me if part of

the file was cached and I received that the second time or was it a new download ?

Thanks in advance

Darren

2 Replies 2

didyap
Level 6
Level 6

When an object is requested, the Cache Engine checks if it has a copy of the requested object in storage. If it has it the Cache Engine sends the user the object. Otherwise, the Cache Engine gets the requested objects from the web server, stores a copy of the objects (caches them), and simultaneously forwards the objects on to the user.

So I think that the part of the download before you cancelled it, should have been served from the cache.

You may however confirm this using the Squid log and check if it is a HIT.

The following doc gives you details on the log analysis.

http://www.cisco.com/warp/public/117/cache_engine/CE_logcodes.html

tgrevers
Cisco Employee
Cisco Employee

Darren,

I will assume you are using a cache engine, and not the content engine. If you can verify that the CE has the cache-on-abort command enabled, you will know if it is configured to completely cache the aborted transfer, or drop the TCP session you had started. The command to enable cache-on-abort is as follows:

CE (config) #http cache-on-abort enable

-Ted