Reputation: 597
I have following task: to make very big html file (100000 short text lines) that this file can be loaded into IE during 5-10 seconds. Now I have made simple html files
<html>
<body>
lines
</body>
</html>
But this file is loaded by IE during 30 seconds. How can I optimize it? Should I add any additional headers for it that IE loads it faster? Thank you
Upvotes: 0
Views: 794
Reputation: 2870
load lines 1-20000 into one frame and 20000-50000 into another frame and 50000-70000 into seprate frame and 70000-100000 in to another one, so we should use javascript to create a frame that contains all of the frames innerHTML.
even , we can use html file instead of frame!
Upvotes: 1
Reputation: 2045
Some common advices: http://www.die.net/musings/page_load_time/
Also, sometimes it is pretty important to set <head>
part and DOCTYPE
so the browser could correctly parse and render the data.
Upvotes: 1