Changeset 522


Ignore:
Timestamp:
Mar 4, 2009, 10:18:29 PM (11 years ago)
Author:
mnot@…
Message:

compact age calculation summary

File:
1 edited

Legend:

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

    r521 r522  
    583583          <figure>
    584584            <artwork type="code">
    585    /*
    586     * age_value
    587     *      is the value of Age: header received by the cache with
    588     *              this response.
    589     * date_value
    590     *      is the value of the origin server's Date: header
    591     * request_time
    592     *      is the (local) time when the cache made the request
    593     *              that resulted in this stored response
    594     * response_time
    595     *      is the (local) time when the cache received the
    596     *              response
    597     * now
    598     *      is the current (local) time
    599     */
     585   age_value     - Age header field-value received with the response
     586   date_value    - Date header field-value received with the response
     587   request_time  - local time when the cache made the request
     588                   resulting in the stored response
     589   response_time - local time when the cache received the response
     590   now           - current local time
    600591
    601592   apparent_age = max(0, response_time - date_value);
Note: See TracChangeset for help on using the changeset viewer.