Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Thank you Borg, and discussion
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Thank you Borg, and discussion

 Post Reply Post Reply
Author
boyohboy View Drop Down
Groupie
Groupie


Joined: 15 October 2002
Location: United States
Status: Offline
Points: 197
Post Options Post Options   Thanks (0) Thanks(0)   Quote boyohboy Quote  Post ReplyReply Direct Link To This Post Topic: Thank you Borg, and discussion
    Posted: 23 April 2003 at 10:59am

Thanks borg, I got a kick out of playing with your wwf app.

I got a thing to ask you.

WWF pages are mix matched of asp and htm. This might contribute some slowness. Do you think it would speed up alot if we write the result to a variable (like an array) then write the variable when everything done and with one response.write. Would it speed things up?

I'm learning asp and finding way to optimize your forum app :-) Hopefully I'll get somewhere.

Visit my community website @
EverythingVIET.com
Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 23 April 2003 at 12:14pm
mixmatching htm and asp is no prob because they are separate pages. HTM is even faster as it does not need to be processed by the server so if there is no vbs code in there, there is no reason to make it an asp.
You other q about the array, I don't really know what you mean but in general you can say, arrays slow things down rather then speeding it up.
Back to Top
Dergal View Drop Down
Groupie
Groupie


Joined: 21 January 2002
Location: United Kingdom
Status: Offline
Points: 67
Post Options Post Options   Thanks (0) Thanks(0)   Quote Dergal Quote  Post ReplyReply Direct Link To This Post Posted: 23 April 2003 at 12:29pm

Originally posted by michael michael wrote:

mixmatching htm and asp is no prob because they are separate pages. HTM is even faster as it does not need to be processed by the server so if there is no vbs code in there, there is no reason to make it an asp....
 

is that still true? I was told that was no longer true... (if so then I can optimise a few sites...)

Back to Top
boyohboy View Drop Down
Groupie
Groupie


Joined: 15 October 2002
Location: United States
Status: Offline
Points: 197
Post Options Post Options   Thanks (0) Thanks(0)   Quote boyohboy Quote  Post ReplyReply Direct Link To This Post Posted: 23 April 2003 at 1:17pm

Originally posted by michael michael wrote:

mixmatching htm and asp is no prob because they are separate pages. HTM is even faster as it does not need to be processed by the server so if there is no vbs code in there, there is no reason to make it an asp.
You other q about the array, I don't really know what you mean but in general you can say, arrays slow things down rather then speeding it up.

According to Pro ASP 3 by Wrox (I think Wrox experts have some credibility), you should "avoid excessive context switching between script and other content". Ie.

<%
process scripts
response.write results
%>

is faster than

<%
process scripts
%>
<body>
<%=result%>
<body>

That's what I meant.
About the arrary. I probably was hoping that we could store everything in some variable and write them at one time. Arrays are just good for organizing as I've seen in other languages and techniques. I don't know much about asp arrays though.

Visit my community website @
EverythingVIET.com
Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 24 April 2003 at 9:01am
Oh, I though you where talking about seperate pages. You are right then, try to block your statements as much as possible to keep asp and html content together in one block....
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.