<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/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>We've all recently fallen prey to the weblogs.asp.net changes to increase throughput on the server.</title><link>http://weblogs.asp.net/justin_rogers/archive/2004/10/07/239649.aspx</link><description>I like some of the excellent changes Scott has made to make sure the pages load as quickly as possible, and realize the necessity to remove large pieces of content such as the users list on the main page, reducing the number of recent postings on the</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>re: We've all recently fallen prey to the weblogs.asp.net changes to increase throughput on the server.</title><link>http://weblogs.asp.net/justin_rogers/archive/2004/10/07/239649.aspx#239912</link><pubDate>Fri, 08 Oct 2004 18:52:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:239912</guid><dc:creator>Justin Rogers</dc:creator><author>Justin Rogers</author><description>That was odd, had to unmoderate that comment for some reason...&lt;br&gt;&lt;br&gt;In response, there has been a huge amount of work already done to compress the page sizes down. Most explicitly in terms of real compression which results in a much smaller page size. If all of THAT work has already been done, but you are worried about compressing a 2k CSS file as well (they enabled compression for the CSS file as noted by ScottW) then I think removing 100 bytes of viewstate and 2k worth of id's would be a great improvement (especially since the main page isn't cached on the user's machine for nearly as long as the CSS file is).&lt;br&gt;&lt;br&gt;1. Removing ID's is a 3 line code change.&lt;br&gt;2. Getting rid of viewstate is a 1 liner&lt;br&gt;3. Smaller class names is a couple of minute grep/replace.&lt;br&gt;4. Stripping tabs is a 5 line code change.&lt;br&gt;5. Compactifying links is another very cheap change as well.&lt;br&gt;&lt;br&gt;Half a days work (maybe, probably less) and you've just cut your page sizes by another 10%? I think the existing changes that were made took far longer than this and some of them resulted in the same or smaller pay-offs. The only super win space change you get is your compression. All the rest are trade-offs (compression is a computational trade-off, but gzip is one of the fastest compression algorithms).&lt;br&gt;&lt;br&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=239912" width="1" height="1"&gt;</description></item><item><title>RE: We've all recently fallen prey to the weblogs.asp.net changes to increase throughput on the server.</title><link>http://weblogs.asp.net/justin_rogers/archive/2004/10/07/239649.aspx#239905</link><pubDate>Fri, 08 Oct 2004 18:39:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:239905</guid><dc:creator>Scott Mitchell</dc:creator><author>Scott Mitchell</author><description>Some of those IDs are needed because they are referenced in the CSS.  But many of them (those of the 'HyperlinkX' flavor) can be scratched.  The other suggestions are great, but I wonder at what point taking the time to make these small improvements outweighs the actual cost of just having them there...  (i.e., the view state is, what, 100 bytes?)&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=239905" width="1" height="1"&gt;</description></item><item><title>re: We've all recently fallen prey to the weblogs.asp.net changes to increase throughput on the server.</title><link>http://weblogs.asp.net/justin_rogers/archive/2004/10/07/239649.aspx#239894</link><pubDate>Fri, 08 Oct 2004 18:25:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:239894</guid><dc:creator>Justin Rogers</dc:creator><author>Justin Rogers</author><description>Yep, customize your HtmlTextWriter to ignore that specific attribute. You'll see that in HtmlControl.RenderAttributes there is an explicit WriteAttribute for (&amp;quot;id&amp;quot;, ClientID) giving you an idea of what you'll have to look for in WriteAttribute.&lt;br&gt;&lt;br&gt;To be more selective you can override RenderAttributes on specific control types. HtmlAnchor is giving .Text a problem, so they could selectively create a better version that removes the id field.&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=239894" width="1" height="1"&gt;</description></item><item><title>re: We've all recently fallen prey to the weblogs.asp.net changes to increase throughput on the server.</title><link>http://weblogs.asp.net/justin_rogers/archive/2004/10/07/239649.aspx#239675</link><pubDate>Fri, 08 Oct 2004 07:36:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:239675</guid><dc:creator>James</dc:creator><author>James</author><description>Is there an easy way to have webcontrols without IDs? When nested deep inside a number of other controls they can get very long.&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=239675" width="1" height="1"&gt;</description></item></channel></rss>