Speed demon.

by Jaakko Nissiat 2011-09-23 17:57:19

I made some modifications to the code again. Actually a quite large mod to the way javascript is loaded. I rewrote parts of the Yii CClientScript to use jsmin.php(I based this on an Yii extension which was iirc ClientScriptPacker).

Now if I make a modification to any of the included javascript files, the minified source packs get automatically regenerated and served with cache-busting. This adds the inconvenience of having to add all used js-libraries in a common init function for all controllers.

At the same time I rewrote the javascript loading so that I have an entry script which loads all other .js files, even jquery. What's left to do, is extracting the modules from the entry script file to their own pack.

The site should feel quite snappy now, as I got the loading(and initial display) of the pages squeezed under half a second.

And now that is out of the way(It really took this long, as my spare time was so scarce during the last ~2 months and I used most of it for reading js books.) I might be able to concentrate more on the actual content and features of the site. ;-)

But there is of course the sprites, db optimizations, replacement of yii components with custom ones and whatnot in the horizon...

Pallokorva Javascript
Hey Robin. Thanks for the feedback and for the nice words. And Happy New Year to you, too! Yes, a <a href="http://cqsnapbb.com">stianndg</a> desk means that I'm <a href="http://cqsnapbb.com">stianndg</a> while working, not sitting. I built one myself</a>, using the top of my old desk, some chain link fence posts, and Kee Klamps</a>. I created one for mostly health reasons. It's just bad for the human body to be sitting all day long.
by: Harald
Happy New Year Larry. I don't comment much but do <a href="http://dctrtflx.com">aptcariepe</a> the effort you put in to keeping us all informed, thank you. a standing desk does that mean what I think it does? If so why do you use one? Thanks and best wishes for 2013. Robin
by: Cristobal
Happy New Year Larry. I don't comment much but do <a href="http://dctrtflx.com">aptcariepe</a> the effort you put in to keeping us all informed, thank you. a standing desk does that mean what I think it does? If so why do you use one? Thanks and best wishes for 2013. Robin
by: Cristobal
Funny thing about you being up in Massachusetts, Larry. I was up there for most of 2012, but left for Florida in mid November. I know the place where you presented. I used to go to Boston alot. http://ghwkcho.com [url=http://zvhvzoc.com]zvhvzoc[/url] [link=http://ijsjyoap.com]ijsjyoap[/link]
by: April

Fields with * are required.

Please enter the letters as they are shown in the image above.
Letters are not case-sensitive.