<br><br><div class="gmail_quote">On Jan 12, 2008 5:08 PM, Godefroid Chapelle &lt;<a href="mailto:gotcha@bubblenet.be">gotcha@bubblenet.be</a>&gt; 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 class="Ih2E3d">daniel wrote:<br>&gt; Thanks,<br>&gt;<br>&gt; Here are my results on FireFox 3 beta2 with firebug 1.1b10:<br>&gt;<br>&gt;<br>&gt; Console in debug:<br>&gt; <a href="http://img242.imageshack.us/img242/9189/firefox3b2firebug11b10djd7.jpg" target="_blank">
http://img242.imageshack.us/img242/9189/firefox3b2firebug11b10djd7.jpg</a><br>&gt; &lt;<a href="http://img242.imageshack.us/img242/9189/firefox3b2firebug11b10djd7.jpg" target="_blank">http://img242.imageshack.us/img242/9189/firefox3b2firebug11b10djd7.jpg
</a>&gt;<br>&gt;<br>&gt; Notice the two errors in the console.<br><br></div>I am surprised, I do not see those errors on my machine.<br><br>Which FF version do you use ?</blockquote><div><br><b>firefox 3 beta2 for the screenshots with the errors. They don&#39;t appear in other versions.
</b><br>&nbsp;<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><div class="Ih2E3d"><br>&gt;<br>&gt; Loadtimes in devel:<br>&gt; <a href="http://img242.imageshack.us/img242/6781/firefox3b2firebug11b10dgg2.jpg" target="_blank">
http://img242.imageshack.us/img242/6781/firefox3b2firebug11b10dgg2.jpg</a><br>&gt; &lt;<a href="http://img242.imageshack.us/img242/6781/firefox3b2firebug11b10dgg2.jpg" target="_blank">http://img242.imageshack.us/img242/6781/firefox3b2firebug11b10dgg2.jpg
</a>&gt;<br>&gt;<br>&gt; Loadtimes in production:<br>&gt; <a href="http://img156.imageshack.us/img156/8510/firefox3b2firebug11b10pcz0.jpg" target="_blank">http://img156.imageshack.us/img156/8510/firefox3b2firebug11b10pcz0.jpg
</a><br>&gt;<br>&gt;<br>&gt; Notice the big problem seems to be base2-dom-fp.js which takes over half<br>&gt; a second to load. How many of these files are required?<br>&gt; I&#39;m not sure why it took 88ms to load a 4k static CSS file either. Or
<br>&gt; 65ms for the 80byte file.<br>&gt; These numbers represent with everything cached they varied between 1.1<br>&gt; and 1.4 seconds for the page load.<br><br></div>I have no idea why JS or CSS is so slow. Obviously, KSS is not playing
<br>any role for serving resources.<br><br>Has someone an idea why serving resources is slow ?<br><div class="Ih2E3d"><br>&gt; Maybe I&#39;m being too picky and 1.4 second load times are acceptable fully<br>&gt; cached and local?
<br><br></div>Well, for a first page load, 1.4 second could be ok, but it should<br>definitely go to sthing shorter for the nest pages.<br><div class="Ih2E3d"><br>&gt; My second Grok app has no CSS or JS and loads in 18ms.
<br>&gt;<br>&gt; Then I tried to reload after clearing my browser&#39;s cache with<br>&gt; ctr-shift-del and i get 13 second load times!<br>&gt;<br>&gt; <a href="http://img86.imageshack.us/img86/9441/firefox3b2firebug11b10dgm1.jpg" target="_blank">
http://img86.imageshack.us/img86/9441/firefox3b2firebug11b10dgm1.jpg</a><br>&gt;<br>&gt; This was easily reproducible. kukit.js is the culprit every time and<br>&gt; takes 12 seconds to get passed to the browser.<br><br></div>
This is what I was referring and that needs to be fixed. I think the<br>cache headers are not setup correctly in production mode.<br><div class="Ih2E3d"><br>&gt; Also obviously nothing is rendered while this occurs<br><br>
</div>I think this is known problem : when browsers wait for js code, they do<br>not render AFAIK.<br><div class="Ih2E3d"><br>&nbsp;&gt; and it did not matter if KSS was in devel or production.<br><br></div>I do not understand what you say here : do you mean that this 12 secs
<br>delay happens at *each* page load even in dev mode ?<br><br>In dev mode, we cache kukit.js in memory in the server : IOW , the first<br>time kukit.js is requested after server restart, it will be long.<br>However, the latter request should be very quick.
<br><br>Can you give more details ?<br><font color="#888888"></font></blockquote><div><br><b>the 12 second delay happens not because of a server restart, but because I cleared my browser&#39;s cache. It only happens once, the first time after a browser cache clear. It occurs whether KSS was in production or devel mode.
</b> <b>The subsequent page loads only take 1.4 seconds unless I clear the browser cache again.</b><br>&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<font color="#888888"><br>--<br></font><div><div></div><div class="Wj3C7c">Godefroid Chapelle (aka __gotcha) <a href="http://bubblenet.be" target="_blank">http://bubblenet.be</a><br></div></div></blockquote></div><br><br clear="all">
<br>-- <br><br>-- Daniel