2.2.1.5 cacheRecord

The following XML defines a record description.

   <complexType name="cacheRecord">
     <sequence>
       <element name="Id" type="cd:guid"/>
       <element name="CreationTime" type="dateTime"/>
       <element name="ModificationTime" type="dateTime"/>
       <element name="LastAccessTime" type="dateTime"/>
       <element name="OriginUrl" type="cd:url"/>
       <element name="LocalUrl" type="cd:url"/>
       <element name="FileModificationTime" type="dateTime"/>
       <element name="FileSize" type="unsignedLong"/>
       <element name="FileEtag" type="string" minOccurs="0" />
       <element name="ContentRange" type="cd:fileRange" 
       maxOccurs="unbounded"/>
       <any minOccurs="0" maxOccurs="unbounded" 
       processContents="lax" namespace="##other"/>
     </sequence>
   </complexType>

Id: The unique ID of the record.

OriginUrl: The URL being cached by the record.

CreationTime: The UTC time of creation of the record.

LastAccessTime: The UTC time of last access to the record.

ModificationTime: The UTC time of last modification to the record.

LocalUrl: The URI of the data in the record relative to the host name and port of the server. The format (specified in [RFC2616] section 3.2.2) is as follows.

  
 Local_url = abs_path ["?" query]

FileModificationTime: The UTC modification time of the URL.

FileSize: The length, in bytes, of the URL content.

FileEtag: The HTTP entity tag of the URL, as specified in [RFC2616] section 3.11.<4>

ContentRange: One such element is returned, in order, for each range of bytes that is present in the content record. For example, if the record contained 100 bytes at offset 2,000 followed by 100 bytes at offset 3,000, the returned XML would include the following <ContentRange> data:

  
 <ContentRange>
       <Offset>2000</Offset>
       <Length>100</Length> 
 </ContentRange>
 <ContentRange>
       <Offset>3000</Offset>
       <Length>100</Length> 
 </ContentRange>

A content record encompassing the entire URL is represented as a single range with offset zero and length equal to the FileSize element.