05-15-2003 07:39 AM
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
05-21-2003 07:10 AM
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
06-03-2003 05:15 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide