ASP Hosting sale!
Double disk space and transfer for FREE!
Limited time offer! Act Now!

aspdev | articles | tutorials | forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Javascript Optimization Tips

 
Post new topic   Reply to topic    ASPdev.org Forum Index -> JavaScript / DHTML / HTML / CSS
View previous topic :: View next topic  
Author Message
raven



Joined: 31 Jan 2006
Posts: 41

PostPosted: Tue Jan 31, 2006 5:50 pm    Post subject: Javascript Optimization Tips Reply with quote

I am just a hack when it comes to Javascript, but one of the problems I have run into when trying to expirement is my code always seems very bloated. I am afraid these scripts are slowing down the remote side too much with their size.

What are some basic optimization tips for java?
_________________
Programmers do it in code
Back to top
View user's profile Send private message
jon



Joined: 01 Oct 2004
Posts: 40

PostPosted: Wed Feb 01, 2006 9:41 am    Post subject: Reply with quote

I don't think client-side JavaScript will be an issue performance wise, as long as you keep your JavaScript code in a separate JS file. This way you can include it on every page in your website, and once a user downloads a page from your domain, the JS file will be cached on his/her computer.
Back to top
View user's profile Send private message
Missie



Joined: 06 Feb 2006
Posts: 25

PostPosted: Mon Feb 06, 2006 7:43 pm    Post subject: Reply with quote

jon wrote:
I don't think client-side JavaScript will be an issue performance wise, as long as you keep your JavaScript code in a separate JS file. This way you can include it on every page in your website, and once a user downloads a page from your domain, the JS file will be cached on his/her computer.


Yeah I also agee. Smile I also have been doing this same thing. Smile
Back to top
View user's profile Send private message
raven



Joined: 31 Jan 2006
Posts: 41

PostPosted: Wed Feb 22, 2006 1:22 pm    Post subject: Reply with quote

jon wrote:
I don't think client-side JavaScript will be an issue performance wise, as long as you keep your JavaScript code in a separate JS file. This way you can include it on every page in your website, and once a user downloads a page from your domain, the JS file will be cached on his/her computer.


Thanks Jon. So even if the code is a bit unoptimized it will not be a problem because they only download it one time? That makes sense.
_________________
Programmers do it in code
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ASPdev.org Forum Index -> JavaScript / DHTML / HTML / CSS All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group

SQL Tutorial