|Post date: 2008-12-05 21:41|
Great work Thomas!
I would also like to see a function to merge files before sending them, perhaps when you place them in the cache? I've written a very simple LS agent to achieve just this and even with that overhead you'll get massive improvements early.
Also you could have a look at YUI Compressor to minify and obfuscate you JS libs and minify your CSS on the fly.
I'm currently writing a series for The View on this subject: "Writing efficient, effective Web code for Domino". I can't give away my final findings, since the final part isn't published yet, but it's in your ballpark just changing the way you code. Imaging putting DAP on top of that! Oh my! :)
Anyway, it's definately worth using YUI Compressor before you GZIP. You can reduce the filesize by another 10-20%, check out YUI here: http://developer.yahoo.com/yui/compressor/
Have a look at my articles here:
The View - Writing efficient, effective Web code for Domino
Not all parts published yet, the most revelaing ones are yet to come. ;)
Anywho, I had to download DAP and I'm going to give it a go to see how it performs. I've used JMeter (http://jakarta.apache.org/jmeter/) to determine how my example application matures in my series. Will be very interesting to see what DAP will contribute.
Keep up the great work!