Bug 35061

Summary: Implement feature define for PageCache
Product: WebKit Reporter: Eric Seidel (no email) <eric>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ap, beidson, darin, dglazkov, jchaffraix, laszlo.gombos
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Bug Depends on: 34259    
Bug Blocks:    

Description Eric Seidel (no email) 2010-02-17 15:39:55 PST
Numerous ports hack their way around the PageCache (instead of using a nice define)

We should come up with some better solution than ports returning FLT_MAX;

Perhaps a new USE() #define which turns on this "immediate release" behavior that ports seem to desire.

Current ports using FLT_MAX for this function:

gtk/TemporaryLinkStubs.cpp
qt/TemporaryLinkStubs.cpp
win/SystemTimeWin.cpp
wince/SystemTimeWince.cpp
wx/SystemTimeWx.cpp

Basically every port except for the Apple Mac and Apple Windows ports.  This seems broken.

I'm not even sure what ports disabling the page cache in this way are doing.  As in, what positive or negative effects they're having on their port is.