Mark Nottingham wrote:
> Heuristic calculation could be calculated ahead of time, but that means that
> if the admin changes their config, old objects still get served with the old
> pct. Don't know it would be worth the savings to try and work around
> this; however, it does mean that you need to look up and parse the object
> headers on each heuristic refresh check. I don't know enough about the code
> to say how expensive that is.
These refresh checks (apart from when done on ICP request, which would
use fresh-until) is only performed on cache hits, where you read in the
object headers anyway. Relatively unexpensive operation, and always done
today anyway.
> Looks like it might be worthwhile to store initial_age as well.
initial_age can be compensated for when you calculate the last-validated
timestamp. No need for a separate timestamp only for that.
/Henrik
Received on Mon Mar 27 2000 - 17:20:07 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:12:22 MST