public override ICacheItem Read(Stream inputStream)
{
string s = Utils.ReadString(inputStream);
string response = Utils.ReadString(inputStream);
string[] chunks = s.Split('\n');
// Corrupted cache record, so throw IOException which is then handled and returns partial cache.
if( chunks.Length != 2 )
throw new IOException("Unexpected number of chunks found");
string url = chunks[0];
DateTime creationTime = new DateTime(long.Parse(chunks[1]));
ResponseCacheItem item = new ResponseCacheItem();
item.Url = url;
item.CreationTime = creationTime;
item.Response = response;
return item;
}