<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>MOSS 2007 Enterprise Content Management and Vista Gadgets</title><link>http://blogs.msdn.com/avneeshk/default.aspx</link><description /><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Internet facing WCM site performance optimizations</title><link>http://blogs.msdn.com/avneeshk/archive/2007/05/31/internet-facing-wcm-site-performance-optimizations.aspx</link><pubDate>Thu, 31 May 2007 03:29:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2996330</guid><dc:creator>avneeshk</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/avneeshk/comments/2996330.aspx</comments><wfw:commentRss>http://blogs.msdn.com/avneeshk/commentrss.aspx?PostID=2996330</wfw:commentRss><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;Ya i am writing after a long break but will post regularly from now on.&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;So I will share some pointers to optimizing performance for a WCM site.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;&lt;B&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-size: 11.0pt"&gt;Master Pages and Layouts as Features&amp;nbsp;&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;On most internet facing sites chances are you will start with a minimal master page and do extreme customizations. Also you will end up&amp;nbsp;with some&amp;nbsp;custom layouts in the process. I think it is a good idea to deploy the master pages and layouts as features. This may have an impact on the performance.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;&lt;B&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-size: 11.0pt"&gt;Core.Js file&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;Core.js is a JavaScript file which is added to all SharePoint pages&amp;nbsp;and&amp;nbsp;is approx 200+&amp;nbsp; kb in size which will add a lot to your page payload and slow down the total performance of the whole site. Make sure Core.js file workaround is applied&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal"&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;A href="http://blogs.msdn.com/ecm/archive/2007/02/07/building-a-detached-page-that-does-not-reference-core-js-but-downloads-it-while-the-page-is-being-viewed-thereby-optimizing-response-time.aspx"&gt;&lt;SPAN style="COLOR: blue; FONT-FAMILY: 'Calibri','sans-serif'"&gt;http://blogs.msdn.com/ecm/archive/2007/02/07/building-a-detached-page-that-does-not-reference-core-js-but-downloads-it-while-the-page-is-being-viewed-thereby-optimizing-response-time.aspx&lt;/SPAN&gt;&lt;/A&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;There are a few things you have to be careful about which are not discussed in the above blog entry like forms authentication, etc. which I will discuss in my next entry. Anyway this file is not totally useless and is extensively used by sharepoint in administration pages etc. So this workaround should only be applied if you think the internet facing part of the site doesn’t needs it.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;&lt;B&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-size: 11.0pt"&gt;Output/Object Cache&amp;nbsp;&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;Go to site collection settings and make sure Output cache settings are properly configured. I will come up with more details on this later.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;&lt;B&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-size: 11.0pt"&gt;BLOB Cache&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;This is a feature I thinks is the most tricky one and least talked about but makes the biggest impact on the site performance. One has to be careful while using BLOB cache as it can misbehave referencing stuff from style library so make sure it has anonymous access enabled. This will let browsers load the stuff faster.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;Look for this entry in Web.config for the site and enabled attributed is set to false by default.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: maroon; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;BlobCache&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: red; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;location&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;"&lt;SPAN style="COLOR: blue"&gt;C:\blobCache&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;path&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;\.(gif|jpg|png|css|js)$&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;maxSize&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;100&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;enabled&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;true&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;max-age&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;6400&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; /&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;Max Age is the time added to the browser cache header so it retains the images etc in local cache for that much time.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;This will also reduce load on backend SQL server.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;I am still having some issue with data refreshing in the cache one they are changed in sharepoint but still I think its worth exploring&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;IIS Compression&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;IF used properly this feature can make a big impact on overall site performance specially on slow connections. It is a bit difficult to make it work or understand what is compressed and what is not on SharePoint site as most of the stuff coming out of SharePoint is dynamic including JavaScript’s etc.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;But anything in _layouts directory will be compressed without any issues including some really big Javascript and CSS files also added to page automatically. These files may add up to 200 kb (not including core.js) to the whole page size so this becomes very important as you cannot remove them from the web pages.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2996330" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/avneeshk/archive/tags/Performance/default.aspx">Performance</category><category domain="http://blogs.msdn.com/avneeshk/archive/tags/WCM/default.aspx">WCM</category><category domain="http://blogs.msdn.com/avneeshk/archive/tags/Optimization/default.aspx">Optimization</category><category domain="http://blogs.msdn.com/avneeshk/archive/tags/BLOB+Cache/default.aspx">BLOB Cache</category><category domain="http://blogs.msdn.com/avneeshk/archive/tags/Cache/default.aspx">Cache</category><category domain="http://blogs.msdn.com/avneeshk/archive/tags/MOSS/default.aspx">MOSS</category><category domain="http://blogs.msdn.com/avneeshk/archive/tags/SharePoint+2007/default.aspx">SharePoint 2007</category><category domain="http://blogs.msdn.com/avneeshk/archive/tags/Internet/default.aspx">Internet</category><category domain="http://blogs.msdn.com/avneeshk/archive/tags/Sharepoint/default.aspx">Sharepoint</category></item><item><title>MOSS WCM Performance</title><link>http://blogs.msdn.com/avneeshk/archive/2006/12/25/moss-wcm-performance.aspx</link><pubDate>Tue, 26 Dec 2006 00:39:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1363000</guid><dc:creator>avneeshk</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/avneeshk/comments/1363000.aspx</comments><wfw:commentRss>http://blogs.msdn.com/avneeshk/commentrss.aspx?PostID=1363000</wfw:commentRss><description>&lt;P&gt;Hi today I will talk briefly about performance of moss based WCM&amp;nbsp;sites. &lt;/P&gt;
&lt;P&gt;For my project performance is paramount and we are already trying to work out some difficult issues on the page size and other related issues. First and foremost is the size of the aspx pages server by moss, issue here is that some of the js files added to aspx pages to&amp;nbsp;handle the moss related functionality increasing the size of the page by about 300k which is a huge increase if you are talking about&amp;nbsp;an INTERNET facing site and when the requirement is to support&amp;nbsp;millions of users a day&amp;nbsp;and to have a good response time for pages on most types of connections (less than 5 seconds load time). In normal circumstances this is not a very difficult task to achieve but for a site in moss with the js files and lots of images to make the site look interesting this becomes a real challenge. There are two issues here the size of the page and pages being servered from sql server. I found a very interesting blog on how to improve on server side performance using various features&amp;nbsp;built into MOSS 2007 which I will try in next few days and post my findings here. For the size issue I am still trying various approaches like IIS 6 compression etc. and we will see how it goes from here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;For server side performance here is the link (very interesting read any way)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;A href="https://blogs.msdn.com/ecm/archive/2006/11/08/how-to-make-your-moss-2007-web-site-faster-with-caching.aspx"&gt;https://blogs.msdn.com/ecm/archive/2006/11/08/how-to-make-your-moss-2007-web-site-faster-with-caching.aspx&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1363000" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/avneeshk/archive/tags/MOSS+SharePoint+2007+Performance+Web+Content+Internet/default.aspx">MOSS SharePoint 2007 Performance Web Content Internet</category></item><item><title>Introduction</title><link>http://blogs.msdn.com/avneeshk/archive/2006/12/19/introduction.aspx</link><pubDate>Wed, 20 Dec 2006 00:05:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1327299</guid><dc:creator>avneeshk</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/avneeshk/comments/1327299.aspx</comments><wfw:commentRss>http://blogs.msdn.com/avneeshk/commentrss.aspx?PostID=1327299</wfw:commentRss><description>&lt;P&gt;Hi I am a Senior consultant working with Microsoft Global Services (Collaboration Service Line).&lt;/P&gt;
&lt;P&gt;And yes at last I have made a decision to start this blog to discuss and share&amp;nbsp;issues and bits of information relating to Microsoft Office Sharepoint Server 2007 Web Content Management (WCM) and Vista gadgets. It may seem odd why I want a same blog discussing MOSS 2007 and Gadgets but I think there is some potential here in integration of these technologies. I will discuss about some of these in the coming few days.&amp;nbsp;Mostly I will concentrate&amp;nbsp;on WCM related stuff.&lt;/P&gt;
&lt;P&gt;I am involved in a big MOSS WCM&amp;nbsp;solution for a client involving a&amp;nbsp;internet&amp;nbsp;facing site with thousands of users and more than a&amp;nbsp;few million hits. Also what is unique about this site except for that it is internet facing with&amp;nbsp;lots of hits&amp;nbsp;is the Hybrid nature of the solution. What I mean by Hybrid is that this&amp;nbsp;WCM site works together with some very dynamic ASP.Net 2.0 solutions or we can say modules seamlessly.&lt;/P&gt;
&lt;P&gt;Based on my learnings some of the areas to look for when you start on a&amp;nbsp;WCM based web site:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Branding (Look and feel customization)&lt;/LI&gt;
&lt;LI&gt;Security&lt;/LI&gt;
&lt;LI&gt;Site structure and Navigation&lt;/LI&gt;
&lt;LI&gt;Webparts and USer Controls&lt;/LI&gt;
&lt;LI&gt;ASP.NET application&amp;nbsp;integration points&lt;/LI&gt;
&lt;LI&gt;Publishing&lt;/LI&gt;&lt;/UL&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1327299" width="1" height="1"&gt;</description></item></channel></rss>