<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://code.msdn.microsoft.com/rss.xsl"?><rss version="2.0"><channel><title>HttpCombiner - combine, compress and cache multiple CSS, Javascript or URL</title><link>http://code.msdn.microsoft.com/HttpCombiner/Project/ProjectRss.aspx</link><description>An HTTP handler that combines multiple CSS, Javascript or URL into one response for faster page load. It can combine, compress and cache response which results in faster page load and better scalab...</description><item><title>NEW POST: Feedback</title><link>http://code.msdn.microsoft.com/HttpCombiner/Thread/View.aspx?ThreadId=1104</link><description>&lt;div class="wikidoc"&gt;
yea ; its success with me &lt;br /&gt;and it make me to load more than 5 JS files in one request and one response ,&lt;br /&gt; it improve the performance of my application and reduced http requests and size&lt;br /&gt;
&lt;/div&gt;</description><author>AhShawky</author><pubDate>Tue, 06 Oct 2009 09:48:02 GMT</pubDate><guid isPermaLink="false">NEW POST: Feedback 20091006A</guid></item><item><title>NEW POST: Url gets encoded while requesting the server.</title><link>http://code.msdn.microsoft.com/HttpCombiner/Thread/View.aspx?ThreadId=2280</link><description>&lt;div class="wikidoc"&gt;
&lt;u&gt;&lt;b&gt;Usage&lt;/b&gt;&lt;/u&gt;&lt;br /&gt; &lt;br /&gt;&amp;lt;link type=&amp;quot;text/css&amp;quot; rel=&amp;quot;Stylesheet&amp;quot; media=&amp;quot;all&amp;quot; href=&amp;quot;HTTPCombiner.ashx?s=CSS_KEY&amp;amp;t=text/css&amp;amp;v=1&amp;quot; /&amp;gt; &lt;br /&gt; &lt;br /&gt;&lt;u&gt;&lt;b&gt;Problem 1&lt;/b&gt;&lt;/u&gt;&lt;br /&gt; &lt;br /&gt;http://mysite.com/HTTPCombiner.ashx?s=CSS_KEY&amp;amp; amp;t=text/css&amp;amp; amp;v=1 - which doesn't work.&lt;br /&gt; &lt;br /&gt;Please read &amp;amp; amp; as without space.&lt;br /&gt; &lt;br /&gt;Thanks in advance&lt;br /&gt;Ankush&lt;br /&gt;
&lt;/div&gt;</description><author>AnkushBindlish</author><pubDate>Tue, 15 Sep 2009 08:58:52 GMT</pubDate><guid isPermaLink="false">NEW POST: Url gets encoded while requesting the server. 20090915A</guid></item><item><title>NEW POST: strange characters when combining files</title><link>http://code.msdn.microsoft.com/HttpCombiner/Thread/View.aspx?ThreadId=1980</link><description>&lt;div class="wikidoc"&gt;
Hi, I’m trying to use the handler with no success. It keeps writing these strange characters at the beginning of each combined file. I guess it has something to do with encoding / BOM, because of the sequence &lt;b&gt;&amp;#239;&amp;#187;&amp;#191;&lt;/b&gt; but I can’t figure it out how to fix it. Here’s some sample output:&lt;br /&gt; &lt;br /&gt; .selsort { background: #fef63b; border:1px solid #8aa5bf; margin-left:10px; } .selprod { background: #fef63b none repeat scroll 0 0; border:1px solid #8aa5bf; font-weight: bold; } #checklens { border-right:1px solid #000; border-left:1px solid #000; padding:0 10px; color: #000; font-weight: bold; } #checknew { border-right:1px solid #000; padding:0 10px 0 0; color: #000; font-weight: bold; } .color-n7 { height:1px; border-color: #f0e837; border-style:solid none; border-width:1px 0; clear:both; margin: 0 12px; } .new-line { clear: both; } .float-left { float:left; }&lt;b&gt;&amp;#239;&amp;#187;&amp;#191;&lt;/b&gt;.pre-gateway { margin:2px 5px;} #by { margin-right:-14px;} #by, .pre-gateway, .srch { float:right; } #adv {float:inherit; } .isrch {cursor:pointer;} #srch2, #srch3 {margin-right:20px} .checklens { border-right:1px solid #000; border-left:1px solid #000; padding:0 10px; color: #000; font-weight: bold; } .checknew { border-right:1px solid #000; padding:0 10px 0 0; color: #000; font-weight: bold; } #dvPgs { width:100%; height:100%; position:relative; display:none; text-align:center; vertical-align:middle; } &lt;b&gt;&amp;#239;&amp;#187;&amp;#191;&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;Thanks in advanced&lt;br /&gt;
&lt;/div&gt;</description><author>Cris</author><pubDate>Thu, 02 Jul 2009 16:51:35 GMT</pubDate><guid isPermaLink="false">NEW POST: strange characters when combining files 20090702P</guid></item><item><title>NEW POST: Thanks for the great tool</title><link>http://code.msdn.microsoft.com/HttpCombiner/Thread/View.aspx?ThreadId=1550</link><description>&lt;div class="wikidoc"&gt;
This was so quick and easy to integrate into our website. The example you provided made it super easy to undertand what was going on&lt;br /&gt;Thanks,&lt;br /&gt;Bob Bonham&lt;br /&gt;
&lt;/div&gt;</description><author>bebonham</author><pubDate>Fri, 10 Apr 2009 18:30:06 GMT</pubDate><guid isPermaLink="false">NEW POST: Thanks for the great tool 20090410P</guid></item><item><title>NEW POST: Feedback</title><link>http://code.msdn.microsoft.com/HttpCombiner/Thread/View.aspx?ThreadId=1104</link><description>&lt;div class="wikidoc"&gt;
Has anyone had success with this?&lt;br /&gt;
&lt;/div&gt;</description><author>johnsons</author><pubDate>Fri, 19 Dec 2008 17:13:27 GMT</pubDate><guid isPermaLink="false">NEW POST: Feedback 20081219P</guid></item><item><title>NEW POST: JScript file - jQuery also loaded, cool</title><link>http://code.msdn.microsoft.com/HttpCombiner/Thread/View.aspx?ThreadId=721</link><description>&lt;div class="wikidoc"&gt;
Hi,&lt;br /&gt; &lt;br /&gt;I like to move all JScript code outside of my web page.&lt;br /&gt; &lt;br /&gt;How do I move the code below to the JScript file also in this sample?&lt;br /&gt; &lt;br /&gt;    &amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;    $(function()&lt;br /&gt;    {&lt;br /&gt;        $(&amp;quot;#jquery&amp;quot;).html(&amp;quot;jQuery also loaded, cool!&amp;quot;);&lt;br /&gt;    });    &lt;br /&gt;    &amp;lt;/script&amp;gt;&lt;br /&gt; &lt;br /&gt;1) I removed the present code from my web page&lt;br /&gt;2) I created a new JScript file; moved this code into the JScript file:&lt;br /&gt;    $(function()&lt;br /&gt;    {&lt;br /&gt;        $(&amp;quot;#jquery&amp;quot;).html(&amp;quot;jQuery also loaded, cool!&amp;quot;);&lt;br /&gt;    }); &lt;br /&gt;3) Added the JScripte file in Web.Config&lt;br /&gt;4) Run the code and got following error: &lt;br /&gt;JScript&lt;i&gt;Text&lt;/i&gt;C.js     http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js' is not a valid virtual path.&lt;br /&gt;5) I assume the error reference to my clde left in my web form: &amp;lt;p id=&amp;quot;jquery&amp;quot;&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt; &lt;br /&gt;It look like it some problem with: http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js&lt;br /&gt;Because I still have the same problem after restore my old code...&lt;br /&gt;But I still like to move the code to JScript file...&lt;br /&gt; &lt;br /&gt;I also need help to select the CSS and JScript file; otherwise the sample include all files in the web.config.&lt;br /&gt;Below I need to pick the JScript and CSS file by Name&lt;br /&gt; &lt;br /&gt;&amp;lt;script     &lt;br /&gt;        type=&amp;quot;text/javascript&amp;quot; &lt;br /&gt;        src=&amp;quot;HttpCombiner.ashx?s=Set_Javascript&amp;amp;t=type/javascript&amp;amp;v=09&amp;quot; &amp;gt;&lt;br /&gt;    &amp;lt;/script&amp;gt;&lt;br /&gt; &lt;br /&gt;      &amp;lt;link   type=&amp;quot;text/css&amp;quot; &lt;br /&gt;            rel=&amp;quot;Stylesheet&amp;quot; &lt;br /&gt;            href=&amp;quot;HttpCombiner.ashx?s=Set_Css&amp;amp;t=text/css&amp;amp;v=09&amp;quot; /&amp;gt;&lt;br /&gt; &lt;br /&gt;Thank you,&lt;br /&gt;Rune&lt;br /&gt;
&lt;/div&gt;</description><author>RBC</author><pubDate>Sat, 13 Sep 2008 17:39:20 GMT</pubDate><guid isPermaLink="false">NEW POST: JScript file - jQuery also loaded, cool 20080913P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://code.msdn.microsoft.com/HttpCombiner/Wiki/View.aspx?title=Home&amp;version=3</link><description>&lt;div class="wikidoc"&gt;
An HTTP handler that combines multiple CSS, Javascript or URL into one response for faster page load. It can combine, compress and cache response which results in faster page load and better scalability of web application
&lt;br /&gt; &lt;br /&gt;It's a good practice to use many small Javascript and CSS files instead of one large Javascript/CSS file for better code maintainability, but bad in terms of website performance. Although you should write your Javascript code in small files and break large CSS files into small chunks but when browser requests those javascript and css files, it makes one Http request per file. Every Http Request results in a network roundtrip form your browser to the server and the delay in reaching the server and coming back to the browser is called latency. So, if you have four javascripts and three css files loaded by a page, you are wasting time in seven network roundtrips. Within USA, latency is average 70ms. So, you waste 7x70 = 490ms, about half a second of delay. Outside USA, average latency is around 200ms. So, that means 1400ms of waiting. Browser cannot show the page properly until Css and Javascripts are fully loaded. So, the more latency you have, the slower page loads.&lt;br /&gt; &lt;br /&gt;You can reduce the wait time by using a CDN. Read my previous blog post about using CDN. However, a better solution is to deliver multiple files over one request using an HttpHandler that combines several files and delivers as one output. So, instead of putting many &amp;lt;script&amp;gt; or &amp;lt;link&amp;gt; tag, you just put one &amp;lt;script&amp;gt; and one &amp;lt;link&amp;gt; tag, and point them to the HttpHandler. You tell the handler which files to combine and it delivers those files in one response. This saves browser from making many requests and eliminates the latency. &lt;br /&gt; &lt;br /&gt;This Http Handler reads the file names defined in a configuration and combines all those files and delivers as one response. It delivers the response as gzip compressed to save bandwidth. Moreover, it generates proper cache header to cache the response in browser cache, so that, browser does not request it again on future visit.&lt;br /&gt; &lt;br /&gt;Read this post for details:&lt;br /&gt;&lt;a href="http://msmvps.com/blogs/omar/archive/2008/08/28/http-handler-to-combine-multiple-files-cache-and-deliver-compressed-output-for-faster-page-load.aspx" class="externalLink"&gt;http://msmvps.com/blogs/omar/archive/2008/08/28/http-handler-to-combine-multiple-files-cache-and-deliver-compressed-output-for-faster-page-load.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</description><author>oazabir</author><pubDate>Thu, 28 Aug 2008 22:18:52 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20080828P</guid></item><item><title>RELEASED: HttpCombiner v1 (Aug 29, 2008)</title><link>http://code.msdn.microsoft.com/HttpCombiner/Release/ProjectReleases.aspx?ReleaseId=1462</link><description></description><author></author><pubDate>Thu, 28 Aug 2008 21:56:44 GMT</pubDate><guid isPermaLink="false">RELEASED: HttpCombiner v1 (Aug 29, 2008) 20080828P</guid></item><item><title>CREATED RELEASE: HttpCombiner v1 (Aug 29, 2008)</title><link>http://code.msdn.microsoft.com/HttpCombiner/Release/ProjectReleases.aspx?ReleaseId=1462</link><description></description><author></author><pubDate>Thu, 28 Aug 2008 21:56:44 GMT</pubDate><guid isPermaLink="false">CREATED RELEASE: HttpCombiner v1 (Aug 29, 2008) 20080828P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://code.msdn.microsoft.com/HttpCombiner/Wiki/View.aspx?title=Home&amp;version=2</link><description>&lt;div class="wikidoc"&gt;
An HTTP handler that combines multiple CSS, Javascript or URL into one response for faster page load. It can combine, compress and cache response which results in faster page load and better scalability of web application
&lt;br /&gt; &lt;br /&gt;It's a good practice to use many small Javascript and CSS files instead of one large Javascript/CSS file for better code maintainability, but bad in terms of website performance. Although you should write your Javascript code in small files and break large CSS files into small chunks but when browser requests those javascript and css files, it makes one Http request per file. Every Http Request results in a network roundtrip form your browser to the server and the delay in reaching the server and coming back to the browser is called latency. So, if you have four javascripts and three css files loaded by a page, you are wasting time in seven network roundtrips. Within USA, latency is average 70ms. So, you waste 7x70 = 490ms, about half a second of delay. Outside USA, average latency is around 200ms. So, that means 1400ms of waiting. Browser cannot show the page properly until Css and Javascripts are fully loaded. So, the more latency you have, the slower page loads.&lt;br /&gt; &lt;br /&gt;You can reduce the wait time by using a CDN. Read my previous blog post about using CDN. However, a better solution is to deliver multiple files over one request using an HttpHandler that combines several files and delivers as one output. So, instead of putting many &amp;lt;script&amp;gt; or &amp;lt;link&amp;gt; tag, you just put one &amp;lt;script&amp;gt; and one &amp;lt;link&amp;gt; tag, and point them to the HttpHandler. You tell the handler which files to combine and it delivers those files in one response. This saves browser from making many requests and eliminates the latency. &lt;br /&gt; &lt;br /&gt;This Http Handler reads the file names defined in a configuration and combines all those files and delivers as one response. It delivers the response as gzip compressed to save bandwidth. Moreover, it generates proper cache header to cache the response in browser cache, so that, browser does not request it again on future visit.&lt;br /&gt;
&lt;/div&gt;</description><author>oazabir</author><pubDate>Thu, 28 Aug 2008 21:55:48 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20080828P</guid></item></channel></rss>