<div dir="ltr">On Sat, Nov 1, 2014 at 10:13 AM, Carlos Garcia Campos <span dir="ltr">&lt;<a href="mailto:carlosgc@webkit.org" target="_blank">carlosgc@webkit.org</a>&gt;</span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">El vie, 31-10-2014 a las 19:02 +0200, Antti Koivisto escribió:<br>
<span class="">&gt; Hello,<br>
&gt;<br>
&gt;<br>
&gt; I&#39;m planning to add an experimental HTTP cache implementation to<br>
&gt; WebKit (<a href="https://bugs.webkit.org/show_bug.cgi?id=30322" target="_blank">https://bugs.webkit.org/show_bug.cgi?id=30322</a>).<br>
<br>
</span>Great news!<br>
<span class=""><br>
&gt;  The main motivations are:<br>
&gt;<br>
&gt;<br>
&gt; - Improving performance by bringing the cache closer. For example we<br>
&gt; can serialize WebKit response objects directly instead of converting<br>
&gt; to/from platform types.<br>
&gt; - Making future innovation around caching easier. Closer coordination<br>
&gt; between cache and WebKit opens new optimization possibilities.<br>
&gt;<br>
&gt;<br>
&gt; The cache lives in the network process. Most of the code is<br>
&gt; cross-platform. The storage backend uses libdispatch IO though it<br>
&gt; wouldn&#39;t be hard to add a generic posix one too.<br>
<br>
</span>Why is it limited to the network process? wouldn&#39;t it be possible to use<br>
it also in the web process when shared secondary process model is used?<br></blockquote><div><br></div><div>The cache ties to NetworkResourceLoader which lives in the network process. In principle it would be possible to integrate with the web process side resource loader too. However I don&#39;t want to support multiple configurations during development.</div><div><br></div><div>It would be good if all WK2 ports would eventually switch to using the network process. The current multitude of configurations makes networking related code more confusing and less hackable than it needs to be.</div><div><br></div><div><br></div><div>   antti</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="im HOEnZb"><br>
&gt;<br>
&gt; The code will be behind NETWORK_CACHE feature flag.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;   antti<br>
</span><div class="HOEnZb"><div class="h5">&gt; _______________________________________________<br>
&gt; webkit-dev mailing list<br>
&gt; <a href="mailto:webkit-dev@lists.webkit.org">webkit-dev@lists.webkit.org</a><br>
&gt; <a href="https://lists.webkit.org/mailman/listinfo/webkit-dev" target="_blank">https://lists.webkit.org/mailman/listinfo/webkit-dev</a><br>
<br>
<br>
_______________________________________________<br>
webkit-dev mailing list<br>
<a href="mailto:webkit-dev@lists.webkit.org">webkit-dev@lists.webkit.org</a><br>
<a href="https://lists.webkit.org/mailman/listinfo/webkit-dev" target="_blank">https://lists.webkit.org/mailman/listinfo/webkit-dev</a><br>
</div></div></blockquote></div><br></div></div>