浏览器限制,最大长度为页 [英] Browser limitation with maximum Page length

查看:161
本文介绍了浏览器限制,最大长度为页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在管理从数据源的HTML内容,并使用asp.net C#在网页上直接写。

We are managing html contents from datasource and directly write on the web pages using asp.net C#.

在这里,我们面临的问题:
在页面全部内容都没有显示,但它同时我们检查页面源和复制/粘贴到一个静态的HTML页面中的所有内容将显示。

Here we are facing the problem : On the page complete contents are not displaying but while we check the Page source and copy/paste it into a static html page all contents will be displayed.

是否有相关的网页的最大长度浏览器的任何限制。

Is there any limitation of browser related to maximum length of a web page.

我用Google搜索,发现一个网页的限制应10-30KB,但在同一个项目,我们有高达55 KB长度的页面。

I googled and found that the limit of a web page should be 10-30KB but in the same project we have pages with length upto 55 KB.

谁能帮我?

推荐答案

我最近一直基准浏览器的加载时间非常大的文本文件。这里有一些数据:

I've recently been benchmarking browser load times for very large text files. Here are some data:

IE --dies大约35兆的结果
火狐--dies大约60兆的结果
Safari浏览器--dies约60兆

铬--dies大约50兆

IE --dies around 35 megs
Firefox --dies around 60 megs
Safari --dies around 60 megs
Chrome --dies around 50 megs

再次,这是一个基本的(如果大)英文文本文件简单的浏览器加载时间。一个奇怪的注意的是,火狐似乎变得无响应之前处理接近60兆,但它只是把55.1兆出来的视口。 (不过我可以CTRL-A来获取所有60兆到剪贴板。)结果
当然你的里程可能会有所不同,这是所有相关的网络延迟,我们可能会看到巨大的差异,如果你谈论的是下载图片等,这仅仅是一个非常大的文件英文文本。

Again, this is simple browser load time of a basic (if large) English text files. One strange note is that Firefox seems to handle close to 60 megs before becoming non-responsive, but it only puts 55.1 megs out on the viewport. (However I can ctrl-a to get all 60 megs onto the clipboard.)
Naturally your mileage will vary, and this is all related to network latency, and we'll probably see vast differences if you're talking about downloading pictures etc. This is just for a single very large file of english text.

这篇关于浏览器限制,最大长度为页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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