diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2006-02-08 00:35:05 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2006-02-08 00:35:05 +0000 |
commit | e724672302fe0e44ed431888903223c200cf8f8f (patch) | |
tree | c160669ae9167a8b9e4f8baf985fea77132402b6 /content/content.c | |
parent | 04e7ec32f9182847a7edc6429bb856f5f086e263 (diff) | |
download | netsurf-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/content.c')
-rw-r--r-- | content/content.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/content/content.c b/content/content.c index 9b5d3c8f2..adf0cb6c8 100644 --- a/content/content.c +++ b/content/content.c @@ -328,6 +328,7 @@ struct content * content_create(const char *url) c->cache_data->max_age = INVALID_AGE; c->cache_data->no_cache = false; c->cache_data->etag = 0; + c->cache_data->last_modified = 0; c->prev = 0; c->next = content_list; |