473,320 Members | 1,831 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

how to speed up loading of pages

I've been developing web applications for a while now. But something
recently came up and i'm unable to provide my concience with a proper
answer.

I'm using class ASP.NET .
All my web pages have the same look and feel. And i enable this with two
simple #INCLUDES. (feature of Class ASP).
One just after the <Body> tag and the other just before the </BODY> tag.

This way all i need to do is to alter the contents of the two Includes and
the layout changes are applied all over.
I know this isn't a good/optimal solution. But the server is really beefed
up and server load isn't an issue. Soon I'll be using ASP.NET Templates.

Now, someone asked me why I'm not doing the following :-
- Create two script files
- In the load event of the page, write the contents of into the page at the
client side.
(thus I'll dynamically build the header and footer templates using
Jscript on the client side).

Apparently this is done a lot for many Jscript menus (I've seen plent of
them).

Now, my question is why not apply the same to the webpages.
The Script file is downloaded only once right.
So, let the scrip files have the header and footer templates embedded in
them as raw strings.

This way, when the user navigates to the next page, all that comes is the
content, and the header and footer will be built up on the client side with
the existing script files.

Whats wrong with the above approach?
Nov 24 '05 #1
0 815

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Leon | last post by:
Hi, Could you give me some suggestions or ideas for the loading speed difference between using one single frame for a web page and not using frame for this page? Thank you very much.
1
by: Benjamin Lefevre | last post by:
I am currently developping a web crawler, mainly crawling mobile page (wml, mobile xhtml) but not only (also html/xml/...), and I ask myself which speed I can reach. This crawler is developped in...
9
by: Jean-David Beyer | last post by:
When initially populating a database, it runs slower that I would have supposed. Checking here and there, especially with iostat, reveals that most of the time is spent writting the logfiles. In...
8
by: ken | last post by:
Hi, I'm trying to speed up the loading of my forms. One problem that I have(probably) is that I have many subforms in the form that I'm trying to speed up. I can't change that now, but I will...
3
by: Reddy | last post by:
The sql query for my datagrid returns 100, 000 records. But the datagrid should display 20 records per page. I am using datagrid paging, but it is taking too much time for the page to load. Is...
2
by: Thomas Scheiderich | last post by:
I am building ASP.NET pages and find that it takes about 15-20 seconds to render the first time it is accessed (this seems to be the case for a page that really does nothing). I was told that even...
1
by: Aubyone | last post by:
Have a web site running a Dot Net appliaction which is load pages very slow. Are there any setting in Windows 2003 to increase the speed of pages loading.
8
by: Alexander Fischer | last post by:
Hello, I am writing a gallery script and use imagecreatefromjpeg and fpassthru to output images without any change to them (i.e., no thumbnail creation etc. - just deliver the image via the php...
2
by: jphelan | last post by:
Ever since I successfully applied some techniques for increasing the speed of my 17 meg. Application; it has only made me hunger for more. First, let me list what I have done so far: 1. Split...
3
by: John | last post by:
Hi My vb.net seems to be slow on initial loading. My clients are not impressed as they had used the ms access version of the app previously and think that the old app is faster in loading. I...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.