<?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: Analyze a slow asp.net web page, tale of</title>
	<atom:link href="http://www.codewrecks.com/blog/index.php/2008/12/05/analyze-a-slow-aspnet-web-page-tale-of/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codewrecks.com/blog/index.php/2008/12/05/analyze-a-slow-aspnet-web-page-tale-of/</link>
	<description>Wrecks of code floating in the sea of Internet By Ricci Gian Maria</description>
	<lastBuildDate>Thu, 09 Feb 2012 16:15:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
	<item>
		<title>By: cna training</title>
		<link>http://www.codewrecks.com/blog/index.php/2008/12/05/analyze-a-slow-aspnet-web-page-tale-of/comment-page-1/#comment-3001</link>
		<dc:creator>cna training</dc:creator>
		<pubDate>Wed, 10 Mar 2010 19:35:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.codewrecks.com/blog/index.php/2008/12/05/analyze-a-slow-aspnet-web-page-tale-of/#comment-3001</guid>
		<description>nice post. thanks.</description>
		<content:encoded><![CDATA[<p>nice post. thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alkampfer</title>
		<link>http://www.codewrecks.com/blog/index.php/2008/12/05/analyze-a-slow-aspnet-web-page-tale-of/comment-page-1/#comment-1915</link>
		<dc:creator>alkampfer</dc:creator>
		<pubDate>Fri, 19 Dec 2008 13:49:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.codewrecks.com/blog/index.php/2008/12/05/analyze-a-slow-aspnet-web-page-tale-of/#comment-1915</guid>
		<description>Client script pagination is the best approach, but you should avoid including all the data in the page.
The best approach is doing pagination asking new data to the server via ajax calls and json serialization.
Check out flexigrid for jquery to look at a real example. 

If you really need instant response, you can follow this pattern
1) render the page with the first page
2) immediately begin to ask for next pages 
3) if the user paginate to a next page check if it is already loaded, if yes render it, if not download and render.
With this approach the time needed to show the first page is slow, and you can download remaining data while user is reading the page.

With jquery dom manipulation is quite simple, and doing a similar approach should be quite simple.

Another approach in aspx is creating an aspx page that only renders the grid, then enable server side caching, and use partial page rendering with jquery (when the user press pagination button you call the page that renders the grid and substitute all html into the div of the original grid).

Alk.</description>
		<content:encoded><![CDATA[<p>Client script pagination is the best approach, but you should avoid including all the data in the page.<br />
The best approach is doing pagination asking new data to the server via ajax calls and json serialization.<br />
Check out flexigrid for jquery to look at a real example. </p>
<p>If you really need instant response, you can follow this pattern<br />
1) render the page with the first page<br />
2) immediately begin to ask for next pages<br />
3) if the user paginate to a next page check if it is already loaded, if yes render it, if not download and render.<br />
With this approach the time needed to show the first page is slow, and you can download remaining data while user is reading the page.</p>
<p>With jquery dom manipulation is quite simple, and doing a similar approach should be quite simple.</p>
<p>Another approach in aspx is creating an aspx page that only renders the grid, then enable server side caching, and use partial page rendering with jquery (when the user press pagination button you call the page that renders the grid and substitute all html into the div of the original grid).</p>
<p>Alk.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dario Santarelli</title>
		<link>http://www.codewrecks.com/blog/index.php/2008/12/05/analyze-a-slow-aspnet-web-page-tale-of/comment-page-1/#comment-1913</link>
		<dc:creator>Dario Santarelli</dc:creator>
		<pubDate>Fri, 19 Dec 2008 11:14:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.codewrecks.com/blog/index.php/2008/12/05/analyze-a-slow-aspnet-web-page-tale-of/#comment-1913</guid>
		<description>In my experience I&#039;ve often found scenarios where developers prefer to populate a generic Data Control with a great deal of records, then manage pagination by client-side scripts. 
According to this approach, page size and load latency can be very heavy but once data is loaded, pagination is immediate.

What do you think about this kind of scenario considering to load a reasonable number of records? 

P.s.: I agree with you: Server-side pagination + Caching is always a good practice</description>
		<content:encoded><![CDATA[<p>In my experience I&#8217;ve often found scenarios where developers prefer to populate a generic Data Control with a great deal of records, then manage pagination by client-side scripts.<br />
According to this approach, page size and load latency can be very heavy but once data is loaded, pagination is immediate.</p>
<p>What do you think about this kind of scenario considering to load a reasonable number of records? </p>
<p>P.s.: I agree with you: Server-side pagination + Caching is always a good practice</p>
]]></content:encoded>
	</item>
</channel>
</rss>

