Improve the WebCore cache so that the maximum cacheable object size is scaled based...
[WebKit-https.git] / WebCore / khtml / misc / loader.h
index a49177e31ac81669f367f29037bb1436e1d67095..00c7c811ff4368c379f7ed69c6d26a5c82660522 100644 (file)
@@ -594,6 +594,8 @@ protected:
         */
        static int size() { return maxSize; };
 
+        static int maxCacheableObjectSize() { return maxCacheable; }
+
        /**
         * prints some statistics to stdout
         */
@@ -657,6 +659,7 @@ protected:
         static QPtrList<DocLoader>* docloader;
     
         static int maxSize;
+        static int maxCacheable;
         static int flushCount;
     
         static Loader *m_loader;