webengine/osswebengine/WebCore/loader/Cache.cpp
branchRCL_3
changeset 91 30342f40acbf
parent 37 cb62a4f66ebe
child 93 79859ed3eea9
equal deleted inserted replaced
84:800203832575 91:30342f40acbf
    36 
    36 
    37 using namespace std;
    37 using namespace std;
    38 
    38 
    39 namespace WebCore {
    39 namespace WebCore {
    40 
    40 
    41 static const int cDefaultCacheCapacity = 8192 * 1024;
    41 static const int cDefaultCacheCapacity = 4*1024*1024; // 4MB
    42 
    42 
    43 static const double cMinDelayBeforeLiveDecodedPrune = 1; // Seconds.
    43 static const double cMinDelayBeforeLiveDecodedPrune = 1; // Seconds.
    44 static const float cTargetPrunePercentage = .95f; // Percentage of capacity toward which we prune, to avoid immediately pruning again.
    44 static const float cTargetPrunePercentage = .95f; // Percentage of capacity toward which we prune, to avoid immediately pruning again.
    45 
    45 
    46 #if PLATFORM(SYMBIAN)
    46 #if PLATFORM(SYMBIAN)