Changeset 147267 in webkit
- Timestamp:
- Mar 29, 2013 7:08:40 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r147266 r147267 1 2013-03-29 Sheriff Bot <webkit.review.bot@gmail.com> 2 3 Unreviewed, rolling out r147263. 4 http://trac.webkit.org/changeset/147263 5 https://bugs.webkit.org/show_bug.cgi?id=113632 6 7 Breaks test fast/loader/display-image-unset-allows-cached- 8 image-load.html (Requested by mlam on #webkit). 9 10 * loader/cache/CachedResource.cpp: 11 (WebCore::CachedResource::freshnessLifetime): 12 1 13 2013-03-29 Roger Fong <roger_fong@apple.com> 2 14 -
trunk/Source/WebCore/loader/cache/CachedResource.cpp
r147263 r147267 433 433 double CachedResource::freshnessLifetime() const 434 434 { 435 // Let file: resources expire immediately so that we don't serve a stale 436 // resource when a file has changed underneath us. Modern filesystems 437 // implement their own caches, so we should still get good performance if 438 // the resource hasn't changed. 439 if (m_response.url().protocolIs("file")) 440 return 0; 441 442 // Cache other non-http resources liberally. 435 // Cache non-http resources liberally 443 436 if (!m_response.url().protocolIsInHTTPFamily()) 444 437 return std::numeric_limits<double>::max();
Note: See TracChangeset
for help on using the changeset viewer.