<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><title> :: komentarze do wpisu &quot;On-demand CSS/Javascript loading&quot;</title><link>http://stronger.epsi.pl/2008/06/18/on-demand-css-javascript-loading/</link><description>Wpisy z dziennika internetowego Jogger, wspomaganego przez Jabbera</description><lastBuildDate>Mon, 21 May 2012 07:25:04 +0200</lastBuildDate><generator>JoggerPL</generator><item><title>D4rky</title><link>http://stronger.epsi.pl/2008/06/18/on-demand-css-javascript-loading/#c1192191</link><description>Hey, nice article but I would use mod_rewrite or something like that to keep my code nice and shiny. For example you could use construction like /css/file1/file2/file3.css or something like that.Think about it and keep up with good work.</description><pubDate>Thu, 19 Jun 2008 09:28:31 +0200</pubDate><guid>http://stronger.epsi.pl/2008/06/18/on-demand-css-javascript-loading/#c1192191</guid></item><item><title>stronger</title><link>http://stronger.epsi.pl/2008/06/18/on-demand-css-javascript-loading/#c1192697</link><description>Thanks. Definitely, mod_rewrite is a powerful toy, it is just out of scope of this post. Also, CSS and Js resources are linked from within HTML document, so there is no &quot;human factor&quot; urge to make them pretty.</description><pubDate>Thu, 19 Jun 2008 19:51:49 +0200</pubDate><guid>http://stronger.epsi.pl/2008/06/18/on-demand-css-javascript-loading/#c1192697</guid></item><item><title>mina86</title><link>http://stronger.epsi.pl/2008/06/18/on-demand-css-javascript-loading/#c1193084</link><description>It forces browser to download the same content several times.  Say I have a dozen of scripts and sites which each uses one particular script and some other script--in a result, the script that is used on all pages will be downloaded several times.Moreover, the array should be sorted just in case two pages uses the same scripts registered in different order.Downloading one file vs downloading several files should not be such a big issue since HTTP/1.1 has a Keep-Alive option thus I think it's better to keep and download files separately.</description><pubDate>Thu, 19 Jun 2008 22:33:23 +0200</pubDate><guid>http://stronger.epsi.pl/2008/06/18/on-demand-css-javascript-loading/#c1193084</guid></item><item><title>stronger</title><link>http://stronger.epsi.pl/2008/06/18/on-demand-css-javascript-loading/#c1194541</link><description>Mina86, you are right saying that content is partially duplicated, but this is not an issue since using some more network throughput saves you from quite a bit of latency problems. It is a good idea to have the Js and CSS arrays ordered. Thanks for that!My general point of view was that one should use standard approach whenever possible. Use the solution above only when your site runs large application that performs bad. Also, some load balancers don't really like Connection: Keep-Alive, which was a serious drawback in my previous job. Anyway, if you can afford going with separate files - do so. If things are starting to go dog slow, use on-demand approach.</description><pubDate>Sat, 21 Jun 2008 16:21:14 +0200</pubDate><guid>http://stronger.epsi.pl/2008/06/18/on-demand-css-javascript-loading/#c1194541</guid></item></channel></rss>
