<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>A Perspective on Technology</title>
	<atom:link href="http://www.kumarlimbu.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kumarlimbu.com</link>
	<description>A Personal Blog of Kumar Limbu about everyday technology.</description>
	<pubDate>Sun, 09 Dec 2007 10:19:10 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Optimizing websites for better performance (YSlow)</title>
		<link>http://www.kumarlimbu.com/optimizing-websites-for-better-performance-yslow/</link>
		<comments>http://www.kumarlimbu.com/optimizing-websites-for-better-performance-yslow/#comments</comments>
		<pubDate>Sun, 09 Dec 2007 10:06:59 +0000</pubDate>
		<dc:creator>kumar</dc:creator>
		
		<category><![CDATA[YSlow]]></category>

		<category><![CDATA[Yahoo]]></category>

		<category><![CDATA[apache web server]]></category>

		<category><![CDATA[css]]></category>

		<category><![CDATA[html]]></category>

		<category><![CDATA[javascript]]></category>

		<category><![CDATA[optimization]]></category>

		<category><![CDATA[technology]]></category>

		<category><![CDATA[apache]]></category>

		<category><![CDATA[apache configuration]]></category>

		<category><![CDATA[gzip]]></category>

		<category><![CDATA[mod_deflate]]></category>

		<category><![CDATA[web server]]></category>

		<category><![CDATA[website optimization]]></category>

		<guid isPermaLink="false">http://www.kumarlimbu.com/optimizing-websites-for-better-performance-yslow/</guid>
		<description><![CDATA[Recently we made some modification to our site. The modification primarily was primarily related to optimizing page load times. This particular optimization is related to the front-end. There is a very cool tool called YSlow which is integrated to firebug a popular addon for firefox browser.
YSlow advises you on the 13 Performance rules:

Make Fewer HTTP [...]]]></description>
			<content:encoded><![CDATA[<p>Recently we made some modification to our site. The modification primarily was primarily related to optimizing page load times. This particular optimization is related to the front-end. There is a very cool tool called <a href="http://developer.yahoo.com/yslow/">YSlow</a> which is integrated to firebug a popular addon for firefox browser.</p>
<p>YSlow advises you on the <a href="http://developer.yahoo.com/yslow/help/#guidelines">13 Performance</a> rules:</p>
<ol class="topspace" style="margin-left: 20px">
<li><a href="http://developer.yahoo.com/performance/rules.html#num_http">Make Fewer HTTP Requests</a></li>
<li><a href="http://developer.yahoo.com/performance/rules.html#cdn">Use a Content Delivery Network</a></li>
<li> <a href="http://developer.yahoo.com/performance/rules.html#expires">Add an Expires Header</a></li>
<li><a href="http://developer.yahoo.com/performance/rules.html#gzip">Gzip Components</a></li>
<li><a href="http://developer.yahoo.com/performance/rules.html#css_top">Put CSS at the Top</a></li>
<li><a href="http://developer.yahoo.com/performance/rules.html#js_bottom">Move Scripts to the Bottom</a></li>
<li><a href="http://developer.yahoo.com/performance/rules.html#css_expressions">Avoid CSS Expressions</a></li>
<li><a href="http://developer.yahoo.com/performance/rules.html#external">Make JavaScript and CSS External</a></li>
<li><a href="http://developer.yahoo.com/performance/rules.html#dns_lookups">Reduce DNS Lookups</a></li>
<li><a href="http://developer.yahoo.com/performance/rules.html#minify">Minify JavaScript</a></li>
<li><a href="http://developer.yahoo.com/performance/rules.html#redirects">Avoid Redirects</a></li>
<li><a href="http://developer.yahoo.com/performance/rules.html#js_dupes">Remove Duplicate Scripts</a></li>
<li><a href="http://developer.yahoo.com/performance/rules.html#etags">Configure ETags</a></li>
</ol>
<p>To get the best performance possible by making the least possible changes, I suggest using rule no. 3 and 4. This particular article will outline using the apache configuration changes to get the best possible performance. This is by far the easiest way to get most out of your website.</p>
<p>Rule no. 3, add an expires header:</p>
<blockquote><p>Adding an expire header to the resources used by your pages will save you bandwidth as well as reduce the total time needed for loading the pages. What this header will do is tell the web browser that partciular javascript, css and image files will not expire until certain date and time in turn saving the unnecessary downloading of those files. To implement this change you will just need to add following option to your webserver configuration file. The following snippet is for apache web server:</p>
<address><font color="#008000">ExpiresActive On</font></address>
<address><font color="#008000"># expire images after a month in the client&#8217;s cache<br />
ExpiresByType image/gif A2592000</font></address>
<address><font color="#008000"># javascript files are good for 1 day</font><font color="#008000"><br />
ExpiresByType text/javascript M86400</font></address>
<address><font color="#008000"># Everything should expire after  a week<br />
ExpiresDefault A604800</font></address>
<p>Where AXXXXX/MXXXXX is in seconds and A means the files will expire XXXXX seconds after the file was first accessed and M means XXXXX seconds after the file was last modified. For more information see <a href="http://httpd.apache.org/docs/1.3/mod/mod_expires.html">apache expires module</a>. This modification will save you around 50% bandwidth and similar load times for your client!</p></blockquote>
<p>Rule no.4, use gzip components:</p>
<blockquote><address> <font color="#008000">&lt;Location /&gt;</font></address>
<address><font color="#008000"># Insert filter<br />
</font><font color="#008000">SetOutputFilter DEFLATE<br />
# Netscape 4.x has some problems&#8230;<br />
</font><font color="#008000">BrowserMatch ^Mozilla/4 gzip-only-text/html</font><font color="#008000"># Netscape 4.06-4.08 have some more problems<br />
</font><font color="#008000">BrowserMatch ^Mozilla/4\.0[678] no-gzip</font><font color="#008000"># MSIE masquerades as Netscape, but it is fine<br />
# BrowserMatch \bMSIE !no-gzip !gzip-only-text/html</font><font color="#008000"># NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48<br />
# the above regex won&#8217;t work. You can use the following workaround to get the desired effect:<br />
</font><font color="#008000">BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html<br />
# Don&#8217;t compress images<br />
</font><font color="#008000">SetEnvIfNoCase Request_URI \</font><font color="#008000">\.(?:gif|jpe?g|png)$ no-gzip dont-vary</font><font color="#008000"><br />
</font><font color="#008000">&lt;/Location&gt;</font></address>
<address> </address>
<p>This change only takes few minutes and it will visibly improve your performance. This is because you are compressing files before transferring them. Note: Make sure you don&#8217;t compress the image files as they are already compressed.</p></blockquote>
<p><font color="#999999"><code></code></font>I hope you will find it useful. If there are any further questions or comments, please post comments.</p>
<blockquote></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.kumarlimbu.com/optimizing-websites-for-better-performance-yslow/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Welcome</title>
		<link>http://www.kumarlimbu.com/welcome/</link>
		<comments>http://www.kumarlimbu.com/welcome/#comments</comments>
		<pubDate>Sat, 08 Dec 2007 16:08:33 +0000</pubDate>
		<dc:creator>kumar</dc:creator>
		
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://www.kumarlimbu.com/welcome/</guid>
		<description><![CDATA[Hi!
Welcome to my personal weblog. I will be writing about the things I encounter at work.
I  will write about things related to software development that I find interesting.
Hope to see you soon.
]]></description>
			<content:encoded><![CDATA[<p>Hi!</p>
<p>Welcome to my personal weblog. I will be writing about the things I encounter at work.</p>
<p>I  will write about things related to software development that I find interesting.</p>
<p>Hope to see you soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kumarlimbu.com/welcome/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
