Improve the WebCore cache so that the maximum cacheable object size is scaled based...
authorhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 23 Nov 2004 07:21:50 +0000 (07:21 +0000)
committerhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 23 Nov 2004 07:21:50 +0000 (07:21 +0000)
commit43419a45528ef1c0ab24b667e0ba8d748abbbe6c
treee89ffee5a3c4791734e2cedb54a7a76dc60cb5b2
parent5b10fdc1772e7f7eef8533bf9264fac376836e6f
Improve the WebCore cache so that the maximum cacheable object size is scaled based off the total cache
size.

        Reviewed by mjs

        * khtml/misc/loader.cpp:
        (CachedObject::finish):
        (Cache::flush):
        (Cache::setSize):
        * khtml/misc/loader.h:
        (khtml::Cache::maxCacheableObjectSize):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8072 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog-2005-08-23
WebCore/khtml/misc/loader.cpp
WebCore/khtml/misc/loader.h