Ignore:
Timestamp:
Mar 17, 2010, 3:11:28 AM (10 years ago)
Author:
julian.reschke@…
Message:

make age calculation a bit less conservative (related to #29)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • draft-ietf-httpbis/latest/p6-cache.xml

    r786 r792  
    687687    <t>the "apparent_age": response_time minus date_value, if the local clock is reasonably well synchronized to the
    688688      origin server's clock. If the result is negative, the result is replaced by zero.</t>
    689     <t>age_value, if all of the caches along the response path implement HTTP/1.1.</t>
    690   </list>
    691 </t>
     689    <t>the "corrected_age_value", if all of the caches along the response path implement HTTP/1.1;
     690      note this value &MUST; be interpreted relative to the time the
     691      request was initiated, not the time that the response was received.</t>
     692  </list>
     693</t>
     694<figure>
     695<artwork type="code">
     696  apparent_age = max(0, response_time - date_value);
     697
     698  response_delay = response_time - request_time;
     699  corrected_age_value = age_value + response_delay; 
     700</artwork>
     701</figure>
    692702<figure>
    693703<preamble>These are combined as</preamble>
    694704<artwork type="code">
    695   apparent_age = max(0, response_time - date_value);
    696   corrected_received_age = max(apparent_age, age_value);
    697 </artwork></figure>
    698 <t>
    699   When an Age value is received, it &MUST; be interpreted relative to the time the
    700   request was initiated, not the time that the response was received.
    701 </t>
    702 <figure><artwork type="code">
    703   response_delay = response_time - request_time;
    704   corrected_initial_age = corrected_received_age + response_delay;
     705  corrected_initial_age = max(apparent_age, corrected_age_value);
    705706</artwork></figure>
    706707<t>
     
    23302331<section title="Since draft-ietf-httpbis-p6-cache-09" anchor="changes.since.09">
    23312332<t>
    2332   No significant changes.
     2333  Closed issues:
     2334  <list style="symbols">
     2335    <t>
     2336      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/29" />:
     2337      "Age calculation"
     2338    </t>
     2339  </list>
    23332340</t>
    23342341</section>
Note: See TracChangeset for help on using the changeset viewer.