mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-18 16:49:18 +03:00
Revert the functional change from r11789: the no-cache directive forces us to revalidate a cached object, not reject it entirely.
svn path=/trunk/netsurf/; revision=11790
This commit is contained in:
parent
4f740f5a32
commit
00bf0fbd24
@ -779,7 +779,6 @@ nserror llcache_object_retrieve_from_cache(const char *url, uint32_t flags,
|
|||||||
|
|
||||||
if ((newest == NULL ||
|
if ((newest == NULL ||
|
||||||
obj->cache.req_time > newest->cache.req_time) &&
|
obj->cache.req_time > newest->cache.req_time) &&
|
||||||
obj->cache.no_cache == false &&
|
|
||||||
url_compare(obj->url, url, true,
|
url_compare(obj->url, url, true,
|
||||||
&match) == URL_FUNC_OK &&
|
&match) == URL_FUNC_OK &&
|
||||||
match == true) {
|
match == true) {
|
||||||
|
Loading…
Reference in New Issue
Block a user