<?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: Making web-pages go faster using PHP</title>
	<atom:link href="http://www.techfounder.net/2008/11/16/making-web-pages-go-faster-using-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.techfounder.net/2008/11/16/making-web-pages-go-faster-using-php/</link>
	<description>Blog about web development and Internet entrepreneurship</description>
	<lastBuildDate>Wed, 03 Mar 2010 01:05:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Kai Sellgren</title>
		<link>http://www.techfounder.net/2008/11/16/making-web-pages-go-faster-using-php/comment-page-1/#comment-740</link>
		<dc:creator>Kai Sellgren</dc:creator>
		<pubDate>Fri, 06 Mar 2009 23:02:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.techfounder.net/?p=121#comment-740</guid>
		<description>If we are talking about having the website to load up fast for the user, then 14 kB vs 102 kB is not a big deal nowadays. However, 2 requests vs 24 requests is a big deal.</description>
		<content:encoded><![CDATA[<p>If we are talking about having the website to load up fast for the user, then 14 kB vs 102 kB is not a big deal nowadays. However, 2 requests vs 24 requests is a big deal.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mrclay.org &#187; Archive &#187; Minify getting out there</title>
		<link>http://www.techfounder.net/2008/11/16/making-web-pages-go-faster-using-php/comment-page-1/#comment-729</link>
		<dc:creator>mrclay.org &#187; Archive &#187; Minify getting out there</dc:creator>
		<pubDate>Sat, 10 Jan 2009 15:37:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.techfounder.net/?p=121#comment-729</guid>
		<description>[...] Eran Galperin is using Minify in his startup Octabox (the site screams) and wrote a nice Minify deployment guide. [...]</description>
		<content:encoded><![CDATA[<p>[...] Eran Galperin is using Minify in his startup Octabox (the site screams) and wrote a nice Minify deployment guide. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Clay</title>
		<link>http://www.techfounder.net/2008/11/16/making-web-pages-go-faster-using-php/comment-page-1/#comment-711</link>
		<dc:creator>Steve Clay</dc:creator>
		<pubDate>Wed, 26 Nov 2008 01:09:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.techfounder.net/?p=121#comment-711</guid>
		<description>@Arik, you&#039;re right, pre-encoding files to cut PHP from the client request cycle is one of &lt;a href=&quot;http://code.google.com/p/minify/wiki/ProjectGoals&quot; rel=&quot;nofollow&quot;&gt;Minify&#039;s goals&lt;/a&gt;, but it&#039;s already pretty fast. The ab testing I did on my (admittedly wimpy) servers showed that Minify served files at least faster than Apache alone with mod_deflate. mod_deflate seems to compress on every request.</description>
		<content:encoded><![CDATA[<p>@Arik, you&#8217;re right, pre-encoding files to cut PHP from the client request cycle is one of <a href="http://code.google.com/p/minify/wiki/ProjectGoals" rel="nofollow">Minify&#8217;s goals</a>, but it&#8217;s already pretty fast. The ab testing I did on my (admittedly wimpy) servers showed that Minify served files at least faster than Apache alone with mod_deflate. mod_deflate seems to compress on every request.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2008-11-18 &#124; Yostivanich.com</title>
		<link>http://www.techfounder.net/2008/11/16/making-web-pages-go-faster-using-php/comment-page-1/#comment-695</link>
		<dc:creator>links for 2008-11-18 &#124; Yostivanich.com</dc:creator>
		<pubDate>Tue, 18 Nov 2008 15:30:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.techfounder.net/?p=121#comment-695</guid>
		<description>[...] techfounder » Making web-pages go faster using PHP Built in minification of CSS and JS without needing to change your code. (tags: programming javascript html performance webprogramming xhtml php optimization minify) [...]</description>
		<content:encoded><![CDATA[<p>[...] techfounder » Making web-pages go faster using PHP Built in minification of CSS and JS without needing to change your code. (tags: programming javascript html performance webprogramming xhtml php optimization minify) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://www.techfounder.net/2008/11/16/making-web-pages-go-faster-using-php/comment-page-1/#comment-694</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Tue, 18 Nov 2008 06:53:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.techfounder.net/?p=121#comment-694</guid>
		<description>&lt;i&gt;What you suggest is yet another method for static deployment of files.&lt;/i&gt;

Actually, no. Michael&#039;s suggestion is to have apache (rather than php) serve the file from the cache if it exists, otherwise it is generated, cached and served by php.

This cuts the php interpreter out entirely for the common case.</description>
		<content:encoded><![CDATA[<p><i>What you suggest is yet another method for static deployment of files.</i></p>
<p>Actually, no. Michael&#8217;s suggestion is to have apache (rather than php) serve the file from the cache if it exists, otherwise it is generated, cached and served by php.</p>
<p>This cuts the php interpreter out entirely for the common case.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eran Galperin</title>
		<link>http://www.techfounder.net/2008/11/16/making-web-pages-go-faster-using-php/comment-page-1/#comment-693</link>
		<dc:creator>Eran Galperin</dc:creator>
		<pubDate>Mon, 17 Nov 2008 10:59:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.techfounder.net/?p=121#comment-693</guid>
		<description>Hi Michael,
What you suggest is yet another method for static deployment of files. In my post I described a dynamic way to serve scripts, which depends on the parameters sent to the minify script. As I&#039;ve told Arik, this is of course possible if this is the route you want to go.</description>
		<content:encoded><![CDATA[<p>Hi Michael,<br />
What you suggest is yet another method for static deployment of files. In my post I described a dynamic way to serve scripts, which depends on the parameters sent to the minify script. As I&#8217;ve told Arik, this is of course possible if this is the route you want to go.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michał Bachowski</title>
		<link>http://www.techfounder.net/2008/11/16/making-web-pages-go-faster-using-php/comment-page-1/#comment-692</link>
		<dc:creator>Michał Bachowski</dc:creator>
		<pubDate>Mon, 17 Nov 2008 10:51:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.techfounder.net/?p=121#comment-692</guid>
		<description>Hi!

Why don`t you use .htaccess?

HTML:
&lt;script type=&quot;text/javascript&quot; src=&quot;/path/to/min/script_one.js,script_two.js&quot;&gt;&lt;/script&gt;

.htaccess stored under /path/to/min/ directory:
&lt;IfModule mod_rewrite.c&gt;
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ index.php?files=$1 [L]
&lt;/IfModule&gt;

and minifying script should produce file called &quot;script_one.js,script_two.js&quot;. So the PHP wouldn`t be involved in further serving this file. And if you want to refresh the cache- just remove this file :)

Regards

p.s. sorry for doubled comment, but HTML tags were stripped out :(</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>Why don`t you use .htaccess?</p>
<p>HTML:<br />
&lt;script type=&#8221;text/javascript&#8221; src=&#8221;/path/to/min/script_one.js,script_two.js&#8221;&gt;&lt;/script&gt;</p>
<p>.htaccess stored under /path/to/min/ directory:<br />
&lt;IfModule mod_rewrite.c&gt;<br />
    RewriteEngine On<br />
    RewriteCond %{REQUEST_FILENAME} !-d<br />
    RewriteCond %{REQUEST_FILENAME} !-f<br />
    RewriteRule ^(.*)$ index.php?files=$1 [L]<br />
&lt;/IfModule&gt;</p>
<p>and minifying script should produce file called &#8220;script_one.js,script_two.js&#8221;. So the PHP wouldn`t be involved in further serving this file. And if you want to refresh the cache- just remove this file <img src='http://www.techfounder.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Regards</p>
<p>p.s. sorry for doubled comment, but HTML tags were stripped out <img src='http://www.techfounder.net/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arik</title>
		<link>http://www.techfounder.net/2008/11/16/making-web-pages-go-faster-using-php/comment-page-1/#comment-690</link>
		<dc:creator>Arik</dc:creator>
		<pubDate>Sun, 16 Nov 2008 21:32:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.techfounder.net/?p=121#comment-690</guid>
		<description>Well, I agree regarding premature optimizations. I guess that my comments should be headed twords the developers of Minify. Maybe I should submit a patch that works like Rails caching...

Anyway, keep up the good work! :-)</description>
		<content:encoded><![CDATA[<p>Well, I agree regarding premature optimizations. I guess that my comments should be headed twords the developers of Minify. Maybe I should submit a patch that works like Rails caching&#8230;</p>
<p>Anyway, keep up the good work! <img src='http://www.techfounder.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Benayoun</title>
		<link>http://www.techfounder.net/2008/11/16/making-web-pages-go-faster-using-php/comment-page-1/#comment-689</link>
		<dc:creator>Adam Benayoun</dc:creator>
		<pubDate>Sun, 16 Nov 2008 17:14:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.techfounder.net/?p=121#comment-689</guid>
		<description>If it&#039;s running that smooth in Israel (and Eran you know how bad routing can be between USA-Israel) Then I wonder how&#039;s the UI would be served in the US :)

Probably faster than your local development server.</description>
		<content:encoded><![CDATA[<p>If it&#8217;s running that smooth in Israel (and Eran you know how bad routing can be between USA-Israel) Then I wonder how&#8217;s the UI would be served in the US <img src='http://www.techfounder.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Probably faster than your local development server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eran Galperin</title>
		<link>http://www.techfounder.net/2008/11/16/making-web-pages-go-faster-using-php/comment-page-1/#comment-688</link>
		<dc:creator>Eran Galperin</dc:creator>
		<pubDate>Sun, 16 Nov 2008 16:48:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.techfounder.net/?p=121#comment-688</guid>
		<description>There is always room for improvement. However I strongly believe in the rule that 97% of the time, premature optimization is the root of all evil ;) 

True, there is some overhead for invoking the parser just to see if a file exists - but its in the millisecond range. Will it ever become significant? that&#039;s hard to tell. In addition minify does more than just serve the files - it configures far-future and Etags headers and saves us the trouble of dealing with those.

For now it&#039;s very helpful to have the same process in development and production. When the time comes that we decide that offline deployment to static files is needed, we&#039;ll go that route.

We&#039;re very glad Octabox is running smoothly for you btw :) we did put extra effort to make sure the server is in top-notch condition</description>
		<content:encoded><![CDATA[<p>There is always room for improvement. However I strongly believe in the rule that 97% of the time, premature optimization is the root of all evil <img src='http://www.techfounder.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  </p>
<p>True, there is some overhead for invoking the parser just to see if a file exists &#8211; but its in the millisecond range. Will it ever become significant? that&#8217;s hard to tell. In addition minify does more than just serve the files &#8211; it configures far-future and Etags headers and saves us the trouble of dealing with those.</p>
<p>For now it&#8217;s very helpful to have the same process in development and production. When the time comes that we decide that offline deployment to static files is needed, we&#8217;ll go that route.</p>
<p>We&#8217;re very glad Octabox is running smoothly for you btw <img src='http://www.techfounder.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  we did put extra effort to make sure the server is in top-notch condition</p>
]]></content:encoded>
	</item>
</channel>
</rss>
