<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Prototype Size Concerns</title>
	<atom:link href="http://alexking.org/blog/2006/11/13/prototype-size-concerns/feed" rel="self" type="application/rss+xml" />
	<link>http://alexking.org/blog/2006/11/13/prototype-size-concerns</link>
	<description>Alex King, Denver Web Developer</description>
	<lastBuildDate>Wed, 23 May 2012 22:34:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Firefox Slowdowns With Memory Leaks and Browser Juggling &#183; Stellify</title>
		<link>http://alexking.org/blog/2006/11/13/prototype-size-concerns#comment-63842</link>
		<dc:creator>Firefox Slowdowns With Memory Leaks and Browser Juggling &#183; Stellify</dc:creator>
		<pubDate>Thu, 10 Jul 2008 21:38:50 +0000</pubDate>
		<guid isPermaLink="false">http://alexking.org/blog/2006/11/13/prototype-size-concerns#comment-63842</guid>
		<description>[...] memory leak caused by the infamous prototype.js. I&#8217;m not too fond of the said script as it is too large for its own good and wish more people would use moo.fx and its relatives like mootools, which have a tinier version [...]</description>
		<content:encoded><![CDATA[<p>[...] memory leak caused by the infamous prototype.js. I&#8217;m not too fond of the said script as it is too large for its own good and wish more people would use moo.fx and its relatives like mootools, which have a tinier version [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Link Harvest 1.0 &#124; alexking.org</title>
		<link>http://alexking.org/blog/2006/11/13/prototype-size-concerns#comment-55727</link>
		<dc:creator>Link Harvest 1.0 &#124; alexking.org</dc:creator>
		<pubDate>Wed, 18 Apr 2007 19:36:10 +0000</pubDate>
		<guid isPermaLink="false">http://alexking.org/blog/2006/11/13/prototype-size-concerns#comment-55727</guid>
		<description>[...] On the technical side, I&#8217;ve recently added special handling support for FeedBurner redirect URLs and the ability to backfill page titles in the event some pages don&#8217;t load properly during the initial harvest operation. Like my Share This plugin, Link Harvest also uses Prototype for the reasons I&#8217;ve explained previously. [...]</description>
		<content:encoded><![CDATA[<p>[...] On the technical side, I&#8217;ve recently added special handling support for FeedBurner redirect URLs and the ability to backfill page titles in the event some pages don&#8217;t load properly during the initial harvest operation. Like my Share This plugin, Link Harvest also uses Prototype for the reasons I&#8217;ve explained previously. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Accettura</title>
		<link>http://alexking.org/blog/2006/11/13/prototype-size-concerns#comment-52897</link>
		<dc:creator>Robert Accettura</dc:creator>
		<pubDate>Fri, 17 Nov 2006 22:00:09 +0000</pubDate>
		<guid isPermaLink="false">http://alexking.org/blog/2006/11/13/prototype-size-concerns#comment-52897</guid>
		<description>According to research, 4 seconds is considered acceptable.  Considering the large number of 56k users on the web... yea.  It&#039;s ugly.</description>
		<content:encoded><![CDATA[<p>According to research, 4 seconds is considered acceptable.  Considering the large number of 56k users on the web&#8230; yea.  It&#8217;s ugly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eas</title>
		<link>http://alexking.org/blog/2006/11/13/prototype-size-concerns#comment-52891</link>
		<dc:creator>eas</dc:creator>
		<pubDate>Fri, 17 Nov 2006 17:42:12 +0000</pubDate>
		<guid isPermaLink="false">http://alexking.org/blog/2006/11/13/prototype-size-concerns#comment-52891</guid>
		<description>Caching is great, but it doesn&#039;t help with the first page view, and first impressions are important.  

I&#039;m not sure that&#039;s a big issue with ShareThis, since the javascript functionality probably isn&#039;t going to be used until after the page is loaded.  Bad news though for sites that rely on a JS library to render parts of the main page.</description>
		<content:encoded><![CDATA[<p>Caching is great, but it doesn&#8217;t help with the first page view, and first impressions are important.  </p>
<p>I&#8217;m not sure that&#8217;s a big issue with ShareThis, since the javascript functionality probably isn&#8217;t going to be used until after the page is loaded.  Bad news though for sites that rely on a JS library to render parts of the main page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://alexking.org/blog/2006/11/13/prototype-size-concerns#comment-52888</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Fri, 17 Nov 2006 15:39:24 +0000</pubDate>
		<guid isPermaLink="false">http://alexking.org/blog/2006/11/13/prototype-size-concerns#comment-52888</guid>
		<description>You&#039;re missing the point son. I&#039;m not including Prototype, WordPress is.</description>
		<content:encoded><![CDATA[<p>You&#8217;re missing the point son. I&#8217;m not including Prototype, WordPress is.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://alexking.org/blog/2006/11/13/prototype-size-concerns#comment-52882</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Fri, 17 Nov 2006 13:46:22 +0000</pubDate>
		<guid isPermaLink="false">http://alexking.org/blog/2006/11/13/prototype-size-concerns#comment-52882</guid>
		<description>Hmmm... I&#039;m kinda lazy and prefer the small files jQuery.js creates. 

If you are including Prototype.js, might as well include Moo.fx along with it then... :(</description>
		<content:encoded><![CDATA[<p>Hmmm&#8230; I&#8217;m kinda lazy and prefer the small files jQuery.js creates. </p>
<p>If you are including Prototype.js, might as well include Moo.fx along with it then&#8230; <img src='http://alexking.org/wp/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://alexking.org/blog/2006/11/13/prototype-size-concerns#comment-52846</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Wed, 15 Nov 2006 16:21:08 +0000</pubDate>
		<guid isPermaLink="false">http://alexking.org/blog/2006/11/13/prototype-size-concerns#comment-52846</guid>
		<description>&lt;strong&gt;Megamuch&lt;/strong&gt;, France is among the top DSLed country in Europe... we get ADSL for much cheaper than Americans do :p</description>
		<content:encoded><![CDATA[<p><strong>Megamuch</strong>, France is among the top DSLed country in Europe&#8230; we get ADSL for much cheaper than Americans do :p</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://alexking.org/blog/2006/11/13/prototype-size-concerns#comment-52844</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Wed, 15 Nov 2006 14:37:28 +0000</pubDate>
		<guid isPermaLink="false">http://alexking.org/blog/2006/11/13/prototype-size-concerns#comment-52844</guid>
		<description>I didn&#039;t say that:

&lt;blockquote&gt;most people are on broadband&lt;/blockquote&gt;

I said that:

&lt;blockquote&gt;folks are more frequently on faster internet connections these days&lt;/blockquote&gt;

Big difference.</description>
		<content:encoded><![CDATA[<p>I didn&#8217;t say that:</p>
<blockquote><p>most people are on broadband</p></blockquote>
<p>I said that:</p>
<blockquote><p>folks are more frequently on faster internet connections these days</p></blockquote>
<p>Big difference.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Megamuch</title>
		<link>http://alexking.org/blog/2006/11/13/prototype-size-concerns#comment-52839</link>
		<dc:creator>Megamuch</dc:creator>
		<pubDate>Wed, 15 Nov 2006 10:45:02 +0000</pubDate>
		<guid isPermaLink="false">http://alexking.org/blog/2006/11/13/prototype-size-concerns#comment-52839</guid>
		<description>I think you are all mistaken that most people are on broadband these days. Yes, the majority of the US maybe. Most of the Nordic countries in Europe too. 

But what about Latin America or Spain and France. Believe me when I say that most of the visits I get on my site are still from dial-ups. 

So to keep my site responsive i try to keep the http requests to a minimum and if a feature is nice but 20k extra in size I will not add it, simply because the page would load to slow for a large part of my visitors. 

my 2 cnts.</description>
		<content:encoded><![CDATA[<p>I think you are all mistaken that most people are on broadband these days. Yes, the majority of the US maybe. Most of the Nordic countries in Europe too. </p>
<p>But what about Latin America or Spain and France. Believe me when I say that most of the visits I get on my site are still from dial-ups. </p>
<p>So to keep my site responsive i try to keep the http requests to a minimum and if a feature is nice but 20k extra in size I will not add it, simply because the page would load to slow for a large part of my visitors. </p>
<p>my 2 cnts.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://alexking.org/blog/2006/11/13/prototype-size-concerns#comment-52838</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Wed, 15 Nov 2006 08:42:01 +0000</pubDate>
		<guid isPermaLink="false">http://alexking.org/blog/2006/11/13/prototype-size-concerns#comment-52838</guid>
		<description>&lt;b&gt;Robert&lt;/b&gt;, for IIS, I find that setting compression level to 9 is (subjectively) hardly noticable. 9 produces 3: or 4:1 compression on text files.

I agree that combining files for fewer requests is better, but I think that shouldn&#039;t matter much on most servers because of HTTP-Keep-Alive. Am I wrong here?

&lt;b&gt;Ozh&lt;/b&gt; and &lt;b&gt;Vinny&lt;/b&gt;, keeping multiple copies - compressed/uncompressed of the dozens of .js, .css, .html files is a pain in the @ss. I&#039;d rather take the risk of IE problem.  However, prototype is common, so if you&#039;re going to bundle it in WP or anywhere else, at least ship a trimmed version.

Of course, as Alex says, caching plays a huge role.  I agree with &lt;b&gt;iolare&lt;/b&gt; and suppose it would be cool if there were central servers to cache common scripts, but maybe we&#039;re dreaming.

BTW Alex, love the &quot;new&quot; sticker. How&#039;s about a preview comment feature? :P

Oh, back on topic - bundle prototype, trim it, and also use gzip. IMHO.</description>
		<content:encoded><![CDATA[<p><b>Robert</b>, for IIS, I find that setting compression level to 9 is (subjectively) hardly noticable. 9 produces 3: or 4:1 compression on text files.</p>
<p>I agree that combining files for fewer requests is better, but I think that shouldn&#8217;t matter much on most servers because of HTTP-Keep-Alive. Am I wrong here?</p>
<p><b>Ozh</b> and <b>Vinny</b>, keeping multiple copies &#8211; compressed/uncompressed of the dozens of .js, .css, .html files is a pain in the @ss. I&#8217;d rather take the risk of IE problem.  However, prototype is common, so if you&#8217;re going to bundle it in WP or anywhere else, at least ship a trimmed version.</p>
<p>Of course, as Alex says, caching plays a huge role.  I agree with <b>iolare</b> and suppose it would be cool if there were central servers to cache common scripts, but maybe we&#8217;re dreaming.</p>
<p>BTW Alex, love the &#8220;new&#8221; sticker. How&#8217;s about a preview comment feature? <img src='http://alexking.org/wp/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>Oh, back on topic &#8211; bundle prototype, trim it, and also use gzip. IMHO.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://alexking.org/blog/2006/11/13/prototype-size-concerns#comment-52832</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Wed, 15 Nov 2006 01:18:14 +0000</pubDate>
		<guid isPermaLink="false">http://alexking.org/blog/2006/11/13/prototype-size-concerns#comment-52832</guid>
		<description>I think you may have overlooked the caching portion of the discussion above.</description>
		<content:encoded><![CDATA[<p>I think you may have overlooked the caching portion of the discussion above.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Accettura</title>
		<link>http://alexking.org/blog/2006/11/13/prototype-size-concerns#comment-52831</link>
		<dc:creator>Robert Accettura</dc:creator>
		<pubDate>Wed, 15 Nov 2006 01:15:22 +0000</pubDate>
		<guid isPermaLink="false">http://alexking.org/blog/2006/11/13/prototype-size-concerns#comment-52831</guid>
		<description>One of the key arguments against mod_gzip is simply CPU.  It&#039;s rather cycle expensive to compress everything.  I personally just do pages, not CSS or JS.

That said, I just modified my comments to not use prototype.js for now.  I was able to cut out 2 http requests in the mod and file size is down ~ 65k.

The HTTP requests kill.  Doesn&#039;t matter how much bandwidth you have, http requests harm performance.  

I&#039;d personally like to see a wordpress API for plugins to include their css/js into main files, rather than each add their own.  Yes, that would require your style.css and scripts.js to be dynamic, but it would stop the insanity of 15 JS and 12 CSS files for each blog.  Before images some sites are hitting 20+ requests.  And that&#039;s not even the worst of them.

Don&#039;t forget the impact this has on web server performance as well.

IMHO it&#039;s a design flaw for each to include their own JS/CSS.</description>
		<content:encoded><![CDATA[<p>One of the key arguments against mod_gzip is simply CPU.  It&#8217;s rather cycle expensive to compress everything.  I personally just do pages, not CSS or JS.</p>
<p>That said, I just modified my comments to not use prototype.js for now.  I was able to cut out 2 http requests in the mod and file size is down ~ 65k.</p>
<p>The HTTP requests kill.  Doesn&#8217;t matter how much bandwidth you have, http requests harm performance.  </p>
<p>I&#8217;d personally like to see a wordpress API for plugins to include their css/js into main files, rather than each add their own.  Yes, that would require your style.css and scripts.js to be dynamic, but it would stop the insanity of 15 JS and 12 CSS files for each blog.  Before images some sites are hitting 20+ requests.  And that&#8217;s not even the worst of them.</p>
<p>Don&#8217;t forget the impact this has on web server performance as well.</p>
<p>IMHO it&#8217;s a design flaw for each to include their own JS/CSS.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iolaire</title>
		<link>http://alexking.org/blog/2006/11/13/prototype-size-concerns#comment-52826</link>
		<dc:creator>iolaire</dc:creator>
		<pubDate>Tue, 14 Nov 2006 14:56:06 +0000</pubDate>
		<guid isPermaLink="false">http://alexking.org/blog/2006/11/13/prototype-size-concerns#comment-52826</guid>
		<description>Has it ever been discussed to have a centralized public version of key open source libraries like prototype.js?  Could it benefit the world if unmodified stock libraries were served from a centralized server network?  

The concept being that many sites would use the same file, so each time you need that file most likely it would have been downloaded by a previous site.</description>
		<content:encoded><![CDATA[<p>Has it ever been discussed to have a centralized public version of key open source libraries like prototype.js?  Could it benefit the world if unmodified stock libraries were served from a centralized server network?  </p>
<p>The concept being that many sites would use the same file, so each time you need that file most likely it would have been downloaded by a previous site.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ozh</title>
		<link>http://alexking.org/blog/2006/11/13/prototype-size-concerns#comment-52823</link>
		<dc:creator>Ozh</dc:creator>
		<pubDate>Tue, 14 Nov 2006 12:51:49 +0000</pubDate>
		<guid isPermaLink="false">http://alexking.org/blog/2006/11/13/prototype-size-concerns#comment-52823</guid>
		<description>I agree with the whole concept of using a bundled prototype. However gzipping &lt;em&gt;might&lt;/em&gt; be a bad idea, since MSIE sometimes &lt;a href=&quot;http://support.microsoft.com/default.aspx?scid=kb;en-us;823386&amp;Product=ie600&quot;&gt;incorrectly decompress&lt;/a&gt; the requested file. I&#039;d rather trim blanks, comments etc... which can greatly reduce the file size too.</description>
		<content:encoded><![CDATA[<p>I agree with the whole concept of using a bundled prototype. However gzipping <em>might</em> be a bad idea, since MSIE sometimes <a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;823386&amp;Product=ie600">incorrectly decompress</a> the requested file. I&#8217;d rather trim blanks, comments etc&#8230; which can greatly reduce the file size too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://alexking.org/blog/2006/11/13/prototype-size-concerns#comment-52821</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Tue, 14 Nov 2006 07:47:49 +0000</pubDate>
		<guid isPermaLink="false">http://alexking.org/blog/2006/11/13/prototype-size-concerns#comment-52821</guid>
		<description>I&#039;m surprised how many times I tell people this, but enabling gzip at the server level only takes a few minutes.  You can use it for .js, .html and pretty much anything that isn&#039;t already compressed (well, no point in recompressing gif files anyway :-)) 

This way you don&#039;t have to continually compress individual files and it works better than the gzip option in wordpress, which causes problems with some plug-ins. 

I did a &lt;a href=&quot;http://www.vibetechnology.com/vt/2006/09/22/triple-website-performance-with-gzip/&quot;&gt;how-to on this for IIS6&lt;/a&gt;, for any interested.</description>
		<content:encoded><![CDATA[<p>I&#8217;m surprised how many times I tell people this, but enabling gzip at the server level only takes a few minutes.  You can use it for .js, .html and pretty much anything that isn&#8217;t already compressed (well, no point in recompressing gif files anyway <img src='http://alexking.org/wp/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> ) </p>
<p>This way you don&#8217;t have to continually compress individual files and it works better than the gzip option in wordpress, which causes problems with some plug-ins. </p>
<p>I did a <a href="http://www.vibetechnology.com/vt/2006/09/22/triple-website-performance-with-gzip/">how-to on this for IIS6</a>, for any interested.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

