<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Faster Page Loads - Bundle Your CSS and Javascript</title>
	<atom:link href="http://www.sitepoint.com/blogs/2007/04/10/faster-page-loads-bundle-your-css-and-javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sitepoint.com/blogs/2007/04/10/faster-page-loads-bundle-your-css-and-javascript/</link>
	<description></description>
	<pubDate>Sat, 05 Jul 2008 05:28:21 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: Christian Winther</title>
		<link>http://www.sitepoint.com/blogs/2007/04/10/faster-page-loads-bundle-your-css-and-javascript/#comment-747050</link>
		<dc:creator>Christian Winther</dc:creator>
		<pubDate>Wed, 18 Jun 2008 09:49:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1896#comment-747050</guid>
		<description>Hello

I have created such a script for ligghtpd (using mod_magnet and lua). It can be found at here:

&lt;a href="http://www.cakephp.nu/faster-page-loads-bundle-your-css-and-javascript-lighttpd-mod_magnet-lua" rel="nofollow"&gt;Faster page loads: Bundle your css and javascript with lighttpd and mod_magnet (lua)&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Hello</p>
<p>I have created such a script for ligghtpd (using mod_magnet and lua). It can be found at here:</p>
<p><a href="http://www.cakephp.nu/faster-page-loads-bundle-your-css-and-javascript-lighttpd-mod_magnet-lua" rel="nofollow">Faster page loads: Bundle your css and javascript with lighttpd and mod_magnet (lua)</a></p>]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.sitepoint.com/blogs/2007/04/10/faster-page-loads-bundle-your-css-and-javascript/#comment-576489</link>
		<dc:creator>David</dc:creator>
		<pubDate>Sat, 29 Dec 2007 19:36:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1896#comment-576489</guid>
		<description>Hmmm, old thing I've found on the Internet, but I need to say that any effort to speed things up for the end-user is good effort. That said, the idea is great!</description>
		<content:encoded><![CDATA[<p>Hmmm, old thing I&#8217;ve found on the Internet, but I need to say that any effort to speed things up for the end-user is good effort. That said, the idea is great!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: ramesh effic</title>
		<link>http://www.sitepoint.com/blogs/2007/04/10/faster-page-loads-bundle-your-css-and-javascript/#comment-244094</link>
		<dc:creator>ramesh effic</dc:creator>
		<pubDate>Thu, 10 May 2007 04:59:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1896#comment-244094</guid>
		<description>can i set proxy page until original page is downloaded from server

in jsp</description>
		<content:encoded><![CDATA[<p>can i set proxy page until original page is downloaded from server</p>
<p>in jsp</p>]]></content:encoded>
	</item>
	<item>
		<title>By: AlexW</title>
		<link>http://www.sitepoint.com/blogs/2007/04/10/faster-page-loads-bundle-your-css-and-javascript/#comment-233913</link>
		<dc:creator>AlexW</dc:creator>
		<pubDate>Thu, 26 Apr 2007 00:57:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1896#comment-233913</guid>
		<description>&lt;blockquote&gt;It seems to me that most of this effort is pointless. In almost all cases CSS, JS, and images are cached by the browser after the first view. Thus, when viewing a second page on the same site, it shouldn’t be making more requests for CSS or JS files, and should only request the images it hasn’t already cached.&lt;/blockquote&gt;

That's assuming they get as far as looking at a second page. Many people will typically be loading 3,4 or 5 tabs simultaneously, and if one of those hasn't started rendering a usable page in a few seconds. they'll click the 'X' and concentrate on the other tabs that have. 

A user hasn't received anything of value for you at that point so they have no perception of loss if they leave. That makes the first ever page load far more important than &lt;strong&gt;any&lt;/strong&gt; future page load.

Even if the user knows your site but hasn't visited for a few months (so no cached version) getting them the first page load quickly is critical to getting them to re-commit to you and not an alternative site. This is equally true whether you're running a blog, a forum, an online store or a content site.</description>
		<content:encoded><![CDATA[<blockquote><p>It seems to me that most of this effort is pointless. In almost all cases CSS, JS, and images are cached by the browser after the first view. Thus, when viewing a second page on the same site, it shouldn’t be making more requests for CSS or JS files, and should only request the images it hasn’t already cached.</p></blockquote>
<p>That&#8217;s assuming they get as far as looking at a second page. Many people will typically be loading 3,4 or 5 tabs simultaneously, and if one of those hasn&#8217;t started rendering a usable page in a few seconds. they&#8217;ll click the &#8216;X&#8217; and concentrate on the other tabs that have. </p>
<p>A user hasn&#8217;t received anything of value for you at that point so they have no perception of loss if they leave. That makes the first ever page load far more important than <strong>any</strong> future page load.</p>
<p>Even if the user knows your site but hasn&#8217;t visited for a few months (so no cached version) getting them the first page load quickly is critical to getting them to re-commit to you and not an alternative site. This is equally true whether you&#8217;re running a blog, a forum, an online store or a content site.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Annesley</title>
		<link>http://www.sitepoint.com/blogs/2007/04/10/faster-page-loads-bundle-your-css-and-javascript/#comment-233875</link>
		<dc:creator>Paul Annesley</dc:creator>
		<pubDate>Wed, 25 Apr 2007 23:36:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1896#comment-233875</guid>
		<description>@Eviltechie: The bundle will certainly be cached by the browser after the first load - we're certainly not forcing every page to include all CSS and JS.

@bart: Also keep in mind that clicking the reload button in Firefox is different to visiting the page again - you're telling Firefox that you want to re-download the content.</description>
		<content:encoded><![CDATA[<p>@Eviltechie: The bundle will certainly be cached by the browser after the first load - we&#8217;re certainly not forcing every page to include all CSS and JS.</p>
<p>@bart: Also keep in mind that clicking the reload button in Firefox is different to visiting the page again - you&#8217;re telling Firefox that you want to re-download the content.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: bart</title>
		<link>http://www.sitepoint.com/blogs/2007/04/10/faster-page-loads-bundle-your-css-and-javascript/#comment-233784</link>
		<dc:creator>bart</dc:creator>
		<pubDate>Wed, 25 Apr 2007 19:53:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1896#comment-233784</guid>
		<description>OK. I think I was wrong in the last comment. It seems that Firebug may be a bit misleading for displaying the css and js files as not cached. When you click to see the headers of the css and js files there is a timestamp. If you navigate through the site and the timestamp doesn't change, then I guess it's safe to assume that FF cached the files. I also tried something else. To verify I cleared browser cache and then input about:cache in the address bar in a new tag. Both memory cache and disk cache were 0. Then I refreshed the page in question and refreshed the about:cache tab. The correct number of requests was displayed in both memory and disk caches. When you drill down you'll see that the files are in one of the caches.</description>
		<content:encoded><![CDATA[<p>OK. I think I was wrong in the last comment. It seems that Firebug may be a bit misleading for displaying the css and js files as not cached. When you click to see the headers of the css and js files there is a timestamp. If you navigate through the site and the timestamp doesn&#8217;t change, then I guess it&#8217;s safe to assume that FF cached the files. I also tried something else. To verify I cleared browser cache and then input about:cache in the address bar in a new tag. Both memory cache and disk cache were 0. Then I refreshed the page in question and refreshed the about:cache tab. The correct number of requests was displayed in both memory and disk caches. When you drill down you&#8217;ll see that the files are in one of the caches.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: busy</title>
		<link>http://www.sitepoint.com/blogs/2007/04/10/faster-page-loads-bundle-your-css-and-javascript/#comment-233778</link>
		<dc:creator>busy</dc:creator>
		<pubDate>Wed, 25 Apr 2007 19:38:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1896#comment-233778</guid>
		<description>@eviltechie
I don't think it's pointless. It's true what you say about caching for future page loads, but the point of this is to speed up loading for someone's first impression of your site. Regardless if you think first impressions aren't valuable enough to warrant the extra work, that's the point of the article.

Also why do you say subsequent loads using this method won't cache? It's the exact same request for pages that use the same combination of files, so why wouldn't it? If another one is added in the mix on another page you would still have to download it before it would be cached anyways, so I don't see any difference in downloading the new bundle for that page.</description>
		<content:encoded><![CDATA[<p>@eviltechie<br />
I don&#8217;t think it&#8217;s pointless. It&#8217;s true what you say about caching for future page loads, but the point of this is to speed up loading for someone&#8217;s first impression of your site. Regardless if you think first impressions aren&#8217;t valuable enough to warrant the extra work, that&#8217;s the point of the article.</p>
<p>Also why do you say subsequent loads using this method won&#8217;t cache? It&#8217;s the exact same request for pages that use the same combination of files, so why wouldn&#8217;t it? If another one is added in the mix on another page you would still have to download it before it would be cached anyways, so I don&#8217;t see any difference in downloading the new bundle for that page.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: bart</title>
		<link>http://www.sitepoint.com/blogs/2007/04/10/faster-page-loads-bundle-your-css-and-javascript/#comment-233774</link>
		<dc:creator>bart</dc:creator>
		<pubDate>Wed, 25 Apr 2007 19:30:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1896#comment-233774</guid>
		<description>I've noticed that Firefox 2 does not cache js and css files at all. I'm using firebug to verify this. If you hit refresh none of the files are cached. Only when you navigate back to the page you came from will you see that images were cached and js and css were not. Can anyone verify that this is default behavior in FF or is this some setting I turned on and forgot about. Thanks.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve noticed that Firefox 2 does not cache js and css files at all. I&#8217;m using firebug to verify this. If you hit refresh none of the files are cached. Only when you navigate back to the page you came from will you see that images were cached and js and css were not. Can anyone verify that this is default behavior in FF or is this some setting I turned on and forgot about. Thanks.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Eviltechie</title>
		<link>http://www.sitepoint.com/blogs/2007/04/10/faster-page-loads-bundle-your-css-and-javascript/#comment-233596</link>
		<dc:creator>Eviltechie</dc:creator>
		<pubDate>Wed, 25 Apr 2007 14:05:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1896#comment-233596</guid>
		<description>It seems to me that most of this effort is pointless. In almost all cases CSS, JS, and images are cached by the browser after the first view. Thus, when viewing a second page on the same site, it shouldn't be making more requests for CSS or JS files, and should only request the images it hasn't already cached.

For high traffic sites, forcing every page to include all of your CSS and JS could greatly increase your bandwidth usage.

For the tests you've shown to be valid, you should compare first page load times with subsequent page load times. Using your method, they're all going to be the same. Allowing the browser to cache things you'll see the first page taking longer to load, and subsequent pages loading much faster.</description>
		<content:encoded><![CDATA[<p>It seems to me that most of this effort is pointless. In almost all cases CSS, JS, and images are cached by the browser after the first view. Thus, when viewing a second page on the same site, it shouldn&#8217;t be making more requests for CSS or JS files, and should only request the images it hasn&#8217;t already cached.</p>
<p>For high traffic sites, forcing every page to include all of your CSS and JS could greatly increase your bandwidth usage.</p>
<p>For the tests you&#8217;ve shown to be valid, you should compare first page load times with subsequent page load times. Using your method, they&#8217;re all going to be the same. Allowing the browser to cache things you&#8217;ll see the first page taking longer to load, and subsequent pages loading much faster.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Annesley</title>
		<link>http://www.sitepoint.com/blogs/2007/04/10/faster-page-loads-bundle-your-css-and-javascript/#comment-231748</link>
		<dc:creator>Paul Annesley</dc:creator>
		<pubDate>Mon, 23 Apr 2007 05:45:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1896#comment-231748</guid>
		<description>@cranial-bore: Thanks for the report, however sitepointstatic.com is not offline.
I've followed this up with you via email.</description>
		<content:encoded><![CDATA[<p>@cranial-bore: Thanks for the report, however sitepointstatic.com is not offline.<br />
I&#8217;ve followed this up with you via email.</p>]]></content:encoded>
	</item>
</channel>
</rss>
