Ignore:
Timestamp:
Mar 9, 2010, 4:20:08 AM (10 years ago)
Author:
julian.reschke@…
Message:

aesthetic changes, preparing for work on #29.

File:
1 edited

Legend:

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

    r773 r778  
    560560</artwork>
    561561</figure>
    562 
    563562<t>
    564563  The freshness_lifetime is defined in <xref target="calculating.freshness.lifetime" />;
     
    658657<preamble>These are combined as</preamble>
    659658<artwork type="code">
    660     corrected_received_age = max(now - date_value, age_value)
     659  corrected_received_age = max(now - date_value, age_value)
    661660</artwork></figure>
    662661<t>
     
    665664</t>
    666665<figure><artwork type="code">
    667    corrected_initial_age = corrected_received_age
    668                          + (now - request_time)
     666  corrected_initial_age = corrected_received_age
     667                          + (now - request_time)
    669668</artwork></figure>
    670669<t>
     
    680679  In summary:
    681680</t>
    682 <figure><artwork type="code">
    683   age_value     - Age header field-value received with the response
    684   date_value    - Date header field-value received with the response
    685   request_time  - local time when the cache made the request
    686                  resulting in the stored response
    687   response_time - local time when the cache received the response
    688   now           - current local time
    689  
     681<t>
     682  age_value
     683  <list>
     684    <t>Age header field-value received with the response.</t>
     685  </list>
     686</t>
     687<t>
     688  date_value
     689  <list>
     690    <t>Date header field-value received with the response.</t>
     691  </list>
     692</t>
     693<t>
     694  request_time
     695  <list>
     696    <t>Local time when the cache made the request resulting in the stored response.</t>
     697  </list>
     698</t>
     699<t>
     700  response_time
     701  <list>
     702    <t>Local time when the cache received the response.</t>
     703  </list>
     704</t>
     705<t>
     706  now
     707  <list>
     708    <t>Current local time.</t>
     709  </list>
     710</t>
     711<figure>
     712<preamble>With these definitions, the current_age can be calculated as per:</preamble>
     713<artwork type="code">
    690714  apparent_age = max(0, response_time - date_value);
    691715  corrected_received_age = max(apparent_age, age_value);
     
    23122336<section title="Since draft-ietf-httpbis-p6-cache-09" anchor="changes.since.09">
    23132337<t>
    2314   None yet.
     2338  No significant changes.
    23152339</t>
    23162340</section>
Note: See TracChangeset for help on using the changeset viewer.