Disabling ASPX page

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

We have a problem now that som of our clients are using a slow connection,
and because the complexity of the ASPX pages it takes a long time to load the
page including many javascript.

Is there a general way to disable the page before the page finishes loading?

thanks
 
Bernie..
I don;t think thats a good reason why ASPX pages are slow!
They don;t run slow if u configure it well and have the neccesary
resources to run it
Patrick
 
Bernie said:
Hi,

We have a problem now that som of our clients are using a slow
connection, and because the complexity of the ASPX pages it takes a
long time to load the page including many javascript.

Um... are the JavaScript function definitions embedded in the page? If
yes then rip them out, put them in a separate file and make that one
cacheable.

The same applies to CSS.

Cheers,
 
You could try deferring the load of JavaScript, but not all browsers support
it.

<script language='javascript' defer='true'>
//code goes here
</script>

Will defer the loading of this script block until it is needed. Of course
you can't put any functions in here that are required by startup code, but it
is useful to defer the loading of client side event handlers and utility
methods.
 
Back
Top