12-12-2001 12:56 PM
Hey all,
Got a question about a 505 cache engine running 2.51 code. Do you need to do, or should you do any kind of regular harddrive maintanence to this box ? Such as clearing the cache drive, etc. How does the ce know when to purge the cached info stored on it's drive ? Say 100k pages are cached, wouldn't the drive be filled ? How can it cache anymore pages if the drive is filled ? How would you "clean" the drive ? Thanks, Brian
12-18-2001 01:58 PM
Drive maintenance is automatic. Oldest and unused cached pages are flushed out first as I understand it.
03-07-2002 09:46 PM
The CE will write over old data, and the settings for defining what is old are configurable:
"If a cached object's HTTP header does not specify an expiration time, the age-multiplier and max-ttl options provide a means for the CE to age cached objects. The CE's algorithm to calculate an object's cache expiration date is as follows:
Expiration date = (Today's date - Object's last modified date) * Freshness factor
The freshness factor is computed from the text and binary percentage parameters of the age-multiplier command. Valid age-multiplier values are 0 to 100 percent of the object's age. Default values are 30 percent for text and 60 percent for binary objects. After the expiration date, the object is considered stale, and subsequent requests result in a fresh retrieval by the CE."
In the event you loose a partition or if you need to re-format a drive, you can follow the 'disk manufacture' procedure documented here:
http://www.cisco.com/warp/public/117/cache_engine/ce_diskrec.html
Hope this helps.
Cheers,
Perry.
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