<?xml version="1.0" encoding="UTF-8"?>
<test id="cache/wcm/history/2" class="A" scope="cache" testtype="application" type="manual" source="wcm11#5.5.1" device="both">
  <assertion>When the user agent revalidates a stale resource in the history list that contains a must-revalidate directive, the user is not informed.
</assertion>
  <specnote>First link fetches dynamically generated doc. This doc. requires revalidation.
Second link uses the prev tag to go back in UA history. The times must be different and 
the UA must not produce a warning on revalidation.</specnote>
  <results>
    <result>
      <name>submit</name>
      <value>yes</value>
    </result>
  </results>
  <method>
    <![CDATA[<card newcontext="true" id="main">
<p>
 wcm/history/2 <br/>

  Follow this&nbsp;<a href="<cachemethod1>">link</a>&nbsp;<br/>
 
</p>
<p mode="wrap">Did linking BACK to Page A occur WITHOUT a revalidation warning? 
<br />
<yesno>
</p>
</card>]]>
  </method>
  <cachemethods>
    <cachemethod id="1">
      <method>
        <![CDATA[<card id="card1">
<p>
  wcm/history/2 <br/>
  Page A.  <br/>
  Note the time <br/>
  <currenttime> <br/>
  then follow this&nbsp;<a href="<cachemethod2>">link</a>&nbsp;<br/>

 <do type="prev" label="Back" >
   <prev/>
 </do>
</p>
</card>
]]>
      </method>
      <header>
        <name>StatusCode</name>
        <value>200</value>
      </header>
      <header>
        <name>Cache-Control</name>
        <value>must-revalidate</value>
      </header>
      <header>
        <name>Expires</name>
        <value>&lt;olddate&gt;</value>
      </header>
    </cachemethod>
    <cachemethod id="2">
      <method>
        <![CDATA[<card id="card2">
<p>
  Page B. <br/>
  1. Go BACK to page A <br/>
  2. Note the time and then <br/>
  3. (from Page A) go BACK to start page. <br/>

 <do type="prev" label="BACK" >
   <prev/>
 </do>
</p>
</card>
]]>
      </method>
      <header>
        <name>StatusCode</name>
        <value>200</value>
      </header>
    </cachemethod>
  </cachemethods>
</test>

