如何使HTML呈现快速 [英] How to make HTML rendering fast

查看:193
本文介绍了如何使HTML呈现快速的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的工作对C#/ ASP.NET开发的Web应用程序。我们使用第三方控件在我们的网页上显示网格,选项卡,树和其他复杂的控制。问题是,这些控制呈现巨大的HTML量。由于此页面的大小已经严重增长,浏览器需要一段时间来加载的页面。我想找到一些通用的技术,使HTML呈现在浏览器(IE浏览器,Firefox等)快。

I am working on a web application developed on C#/ASP.NET. We are using third-party controls for displaying Grids, Tabs, Trees and other complex controls in our pages. The problem is that these controls render a huge amount of HTML. Due to this the size of pages have grown heavily and the browser takes a while to load a page. I want to find some general techniques to make HTML rendering in a browser (Internet Explorer, Firefox, etc.) fast.

请注意,所有页面的ViewState关闭。

Note that all the pages have ViewState turned off.

推荐答案

有一个Firefox扩展,YSlow的( HTTP: //developer.yahoo.com/yslow/ ),分析任何网页,并列出要进行的具体变化,以提高速度。一些,这意味着相关的网络服务器,而不是在HTML的内容,但它是非常有帮助的反正的变化。结果,
从YSlow的网页截图:

There's a Firefox extension, YSlow ( http://developer.yahoo.com/yslow/ ) that analyzes any web page and lists the specific changes to be made, to improve the speed. Some of the changes that it suggests are related to the web server, not the content of the HTML, but it's very helpful anyway.
Screenshot from the YSlow webpage:

这篇关于如何使HTML呈现快速的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆