<?xml version="1.0" encoding="UTF-8"?>
<test id="cache/wcm/history/3" class="A" scope="cache" testtype="application" type="manual" source="wcm11#5.5.1" device="both">
  <assertion>When a stale resource does not have a must-revalidate directive it is not revalidated when going "back" in the user agent history.
</assertion>
  <specnote>First link fetches dynamically generated doc. This doc. (Page A) is stale.
User follows link to page B and then returns to Page A via Back action. If Page A has
 not been revalidated then the times TIME_1 and TIME_2 will be the same, since the
 second viewing of Page A will come from the history cache.</specnote>
  <results>
    <result>
      <name>submit</name>
      <value>yes</value>
    </result>
  </results>
  <method>
    <![CDATA[<card newcontext="true" id="main">
<p>
 wcm/history/3 <br/>

  Follow this&nbsp;<a href="<cachemethod1>">link</a>&nbsp;<br/>
 
</p>
<p mode="wrap">Were the two times the same? 
<br />
<yesno>
</p>
</card>]]>
  </method>
  <cachemethods>
    <cachemethod id="1">
      <method>
        <![CDATA[<card id="card1">
<p>
  wcm/history/3 <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>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>

