summaryrefslogtreecommitdiff
path: root/content/fetch.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2006-02-08 00:35:05 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2006-02-08 00:35:05 +0000
commite724672302fe0e44ed431888903223c200cf8f8f (patch)
treec160669ae9167a8b9e4f8baf985fea77132402b6 /content/fetch.h
parent04e7ec32f9182847a7edc6429bb856f5f086e263 (diff)
downloadnetsurf-e724672302fe0e44ed431888903223c200cf8f8f.tar.gz
netsurf-e724672302fe0e44ed431888903223c200cf8f8f.tar.bz2
[project @ 2006-02-08 00:35:05 by jmb]
Handle case where no cache expiry headers are sent; use (now - last_modified) / 10. This should reduce the frequency of cache entry validation. svn path=/import/netsurf/; revision=2064
Diffstat (limited to 'content/fetch.h')
-rw-r--r--content/fetch.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/content/fetch.h b/content/fetch.h
index b65e150ff..633a87131 100644
--- a/content/fetch.h
+++ b/content/fetch.h
@@ -43,6 +43,7 @@ struct cache_data {
int max_age; /**< Max-age Cache-control parameter */
bool no_cache; /**< no-cache Cache-control parameter */
char *etag; /**< Etag: response header */
+ time_t last_modified; /**< Last-Modified: response header */
};
extern bool fetch_active;