<br><br><div class="gmail_quote">On Jan 12, 2008 5:08 PM, Godefroid Chapelle <<a href="mailto:gotcha@bubblenet.be">gotcha@bubblenet.be</a>> 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>> Thanks,<br>><br>> Here are my results on FireFox 3 beta2 with firebug 1.1b10:<br>><br>><br>> Console in debug:<br>> <a href="http://img242.imageshack.us/img242/9189/firefox3b2firebug11b10djd7.jpg" target="_blank">
http://img242.imageshack.us/img242/9189/firefox3b2firebug11b10djd7.jpg</a><br>> <<a href="http://img242.imageshack.us/img242/9189/firefox3b2firebug11b10djd7.jpg" target="_blank">http://img242.imageshack.us/img242/9189/firefox3b2firebug11b10djd7.jpg
</a>><br>><br>> 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't appear in other versions.
</b><br> <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>><br>> Loadtimes in devel:<br>> <a href="http://img242.imageshack.us/img242/6781/firefox3b2firebug11b10dgg2.jpg" target="_blank">
http://img242.imageshack.us/img242/6781/firefox3b2firebug11b10dgg2.jpg</a><br>> <<a href="http://img242.imageshack.us/img242/6781/firefox3b2firebug11b10dgg2.jpg" target="_blank">http://img242.imageshack.us/img242/6781/firefox3b2firebug11b10dgg2.jpg
</a>><br>><br>> Loadtimes in production:<br>> <a href="http://img156.imageshack.us/img156/8510/firefox3b2firebug11b10pcz0.jpg" target="_blank">http://img156.imageshack.us/img156/8510/firefox3b2firebug11b10pcz0.jpg
</a><br>><br>><br>> Notice the big problem seems to be base2-dom-fp.js which takes over half<br>> a second to load. How many of these files are required?<br>> I'm not sure why it took 88ms to load a 4k static CSS file either. Or
<br>> 65ms for the 80byte file.<br>> These numbers represent with everything cached they varied between 1.1<br>> 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>> Maybe I'm being too picky and 1.4 second load times are acceptable fully<br>> 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>> My second Grok app has no CSS or JS and loads in 18ms.
<br>><br>> Then I tried to reload after clearing my browser's cache with<br>> ctr-shift-del and i get 13 second load times!<br>><br>> <a href="http://img86.imageshack.us/img86/9441/firefox3b2firebug11b10dgm1.jpg" target="_blank">
http://img86.imageshack.us/img86/9441/firefox3b2firebug11b10dgm1.jpg</a><br>><br>> This was easily reproducible. kukit.js is the culprit every time and<br>> 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>> 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> > 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'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> </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