[Webkit-unassigned] [Bug 52153] New: Consider allowing resource revalidation and reloading after initial page load
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jan 10 10:44:25 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=52153
Summary: Consider allowing resource revalidation and reloading
after initial page load
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Normal
Priority: P2
Component: Page Loading
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: koivisto at iki.fi
CC: ap at webkit.org
This test in CachedResourceLoader::determineRevalidationPolicy()
// Avoid loading the same resource multiple times for a single document, even if the cache policies would tell us to.
if (m_validatedURLs.contains(existingResource->url()))
return Use;
means that we never revalidate a resource for a given document (except if it has Cache-control:no-store which is handled separately), no matter how expired it is.
While we don't want to load a resource multiple times during a page load we should probably allow revalidation for resources that are requested by a script after the page load has completed. This might be achieved simply be clearing (and not adding to it afterwards) m_validatedURLs when the page load completes. It would also be good to figure out what exactly other browsers do here before making any changes.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list