Don't cache resources that are very unlikely to be reused
authorantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 30 Mar 2015 22:00:17 +0000 (22:00 +0000)
committerantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 30 Mar 2015 22:00:17 +0000 (22:00 +0000)
commite3b9da082f4cce734f6b9888d280633b04148779
tree68a8dc77485f944f08f1d400173265562210b27d
parent549323820e5822600206cdebd73c91d966e902a1
Don't cache resources that are very unlikely to be reused
https://bugs.webkit.org/show_bug.cgi?id=143226

Reviewed by Chris Dumez.

Source/WebKit2:

Follow-up to cover Cache-control: no-cache case which also has zero cache lifetime.

* NetworkProcess/cache/NetworkCache.cpp:
(WebKit::NetworkCache::makeStoreDecision):

LayoutTests:

* http/tests/cache/disk-cache/disk-cache-validation-back-navigation-policy-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@182154 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/http/tests/cache/disk-cache/disk-cache-validation-back-navigation-policy-expected.txt
Source/WebKit2/ChangeLog
Source/WebKit2/NetworkProcess/cache/NetworkCache.cpp