<div dir="ltr">i think the below is related to JS engine. i was referring to the cached resources(css, js, images etc) - WebCore/loader/Cache.cpp:44<br>static const int cDefaultCacheCapacity = 8192 * 1024;<br><br>regards,<br>
Zaheer<br><br><br><div class="gmail_quote">On Wed, Sep 17, 2008 at 1:23 PM, Paul Pedriana <span dir="ltr"><<a href="mailto:ppedriana@gmail.com">ppedriana@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">
That was discussed last month. See the thread at:
<a href="https://lists.webkit.org/pipermail/webkit-dev/2008-August/004719.html" target="_blank">https://lists.webkit.org/pipermail/webkit-dev/2008-August/004719.html</a><br>
<br>
I am currently running my copy like this:<br>
<br>
enum { DefaultCapacity = 2 * 256 * 1024 / sizeof(Register)};
// Originally (2 * 1024 * 1024 / sizeof(Register))<br>
enum { DefaultMaxGlobals = 4 * 1024 };
// Originally (8 * 1024)<br>
<br>
<br>
<br>
<br>
<br>
<blockquote type="cite"><div><div></div><div class="Wj3C7c">
<div dir="ltr">hi,<br>
webkit currently reserves 8Mb of cache space (refer: Cache.cpp). This
seems too high for an embedded browser that should work with as less as
10Mb of RAM. Other than the performance/reload of resource impact are
there any side effects by reducing this or totally disabling it. one
feature that inherently relies on cache is the navigation history,
however in our tests we see that there is no impact other than the
reload (e.g. form data is preserved in navigation).<br>
we think that a small cache ~500k is more appropriate to help for
content thats repeated in the same page being refetched.<br>
appreciate any inputs on this.<br>
<br>
thanks,<br>
Zaheer<br>
</div>
</div></div><pre><hr size="4" width="90%">
_______________________________________________
webkit-dev mailing list
<a href="mailto:webkit-dev@lists.webkit.org" target="_blank">webkit-dev@lists.webkit.org</a>
<a href="http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev" target="_blank">http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev</a>
</pre>
</blockquote>
<br>
</div>
</blockquote></div><br></div>