Hi Patrick,
I have done some testing, and it appears that sometimes the cache is used, and other times it is not. When it is not used it goes down this path:
CachedRes.687 mustRevalidateDueToCacheHeaders
ResRespBase.407 headerValue: (null)
ResRespBase.409 Date HeaderValue=Empty
CachedRes.714 mustRevalidate.cachePolicy isExpired
CachedResLdr.613 determineRevalidationPolicy reloading due to missing cache validators.
CachedResLdr.446 Reload loadResource()
The first entry is the shortened filename, followed by the approx line number, instead of .cpp. It appears to me the date value is coming back null from the header. That is creating a expired cachePolicy, which ends up requiring a reload. I have other examples that appear to load the resource from cache, that end with this:
00.000 CachedResLdr.455 notifyLoadedFromMemoryCache()
My question is: am I on the right track? It seems the logic for getting the date: ResourceResponseBase.cpp, function: parseDateValueInHeader, doesn't have anything in the headerValue. Which makes the date null also.
Any help you can give, would be greatly appreciated.
Russ
On Thursday, October 24, 2013 11:43:41 AM UTC-5, Russ Reichman wrote: