"If-Modified-Since" second approach.
commit4bf3e2693b841858f1d58b2df3192916f8f659a3
authorWitold Filipczyk <witekfl@poczta.onet.pl>
Thu, 26 Oct 2006 09:53:30 +0000 (26 11:53 +0200)
committerWitold Filipczyk <nobody@nowhere>
Thu, 26 Oct 2006 09:53:30 +0000 (26 11:53 +0200)
tree3d599ee071cde14970af8668c19b52ab2ee32ad4
parent49217cef2be278bd9fd79ba6c452a902ae4015bf
"If-Modified-Since" second approach.

Added document.cache.interval option. When time elapsed since previous access
to the document is less than interval then the document is taken from
the cache. Otherwise the request with filled "If-Modified-Since" and/or
"If-None-Match" header field is sent. By default interval is set to 10 minutes.
This requires the correct time to be set on your machine.
src/cache/cache.c
src/cache/cache.h
src/config/options.inc
src/protocol/http/http.c