There are two willCacheResource delegates in ResourceHandleClient, one that can replace the whole resource, and another that can change CacheStoragePolicy only. It's very confusing. And all the latter is ever used for is to prevent storing to disk when private browsing is enabled. But private browsing storage session has 0 disk cache capacity, so it never stores anything anyway! So, I'd like to remove this code.
Created attachment 178301 [details] proposed patch
Committed <http://trac.webkit.org/changeset/136998>.