When processing web pages that have lots of HTML, you may want to consider improving the time to load a page as it has a great impact on user experience. Following are some recommendations:
1. Preload HTML using jQuery: Consider preloading HTML pages using jQuery. More information about this can be found at the following URL:
URL:
http://api.jquery.com/jQuery.get/
http://stackoverflow.com/questions/1295027/is-it-possible-to-preload-an-html-page-before-displaying-it
2. Caching:
- Meta Tags: Use HTML meta tags to cache a page in the page headers. Do not insert these tags in pages that authenticates or send user password.
URL:
http://www.web-caching.com/mnot_tutorial/how.html
http://www.mnot.net/cache_docs/ - ASP.NET Server Side Caching: Use the server side caching so that HTML pages doesn’t have to load every time user request a page. You will need to implement this carefully as you don’t want to use the server memory.
URL:
http://msdn.microsoft.com/en-us/library/06bh14hk.aspx
http://www.dotnetperls.com/cache
3. Hide AJAX UpdateProgress Control: Do not display the AjaxUpdateProgress control so that user can scroll through the pages while reading.
4. Infinite Scrolls: For large HTML pages, consider loading the content while scrolling. This can be done using AS.NET/AJAX.
URL: http://code.msdn.microsoft.com/CSASPNETInfiniteLoading-16f5bdb8
5. Grid / Virtual Scrolling and Paging: Components such as Telerik, ComponentArt, and Infragistics have controls that allows built-in scrolling and paging. Take a look at the demo.
URL:
http://demos.telerik.com/aspnet-ajax/grid/examples/client/virtualscrollpaging/defaultvb.aspx
http://www.coldfusionjedi.com/demos/sharp/ajaxLoadOnScroll/test.cfm
http://dhtmlx.com/docs/products/dhtmlxGrid/samples/14_loading_big_datasets/
No comments:
Post a Comment