Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 04-27-2010, 12:33 PM   #1
MetaMan
I AM WEB 2.0
 
Industry Role:
Join Date: Jan 2003
Posts: 28,682
What is the maximum size of JAVASCRIPT you would have on a page?

Lets say jquery?

how much size is to much where it slows down the page?
can you just upgrade your server to handle the load times?

i would think sites like facebook would have large load files for css/jquery but yet they will manage to be fast.
MetaMan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2010, 12:35 PM   #2
MetaMan
I AM WEB 2.0
 
Industry Role:
Join Date: Jan 2003
Posts: 28,682
i want to have a good combination of features yet still have fast use ability. im looking to know if you can actually have best of both worlds.
MetaMan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2010, 12:37 PM   #3
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,239
i would test it against pingdom tool
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2010, 12:41 PM   #4
munki
Do Fun Shit.
 
munki's Avatar
 
Industry Role:
Join Date: Dec 2004
Location: OC
Posts: 13,393
minify = win...
__________________

I have the simplest tastes. I am always satisfied with the best.” -Oscar Wilde
munki is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2010, 12:49 PM   #5
ProG
Confirmed User
 
Join Date: Apr 2009
Posts: 1,319
If you have 500kb of code its obviously going to be slower than 100kb of code. The overall size of your Javascript code will depend on the quality of your coder and the library (or libraries) they chose to use.

Google Closure has a compiler that will compile a stand alone Javascript file that contains only the necessary code for your application. (This removes the need to load an entire library)

There are also tools such as minify to reduce file size and cache code.
http://code.google.com/p/minify/
__________________
History will be kind to me for I intend to write it.
ProG is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2010, 12:52 PM   #6
MetaMan
I AM WEB 2.0
 
Industry Role:
Join Date: Jan 2003
Posts: 28,682
Quote:
Originally Posted by ProG View Post
If you have 500kb of code its obviously going to be slower than 100kb of code. The overall size of your Javascript code will depend on the quality of your coder and the library (or libraries) they chose to use.

Google Closure has a compiler that will compile a stand alone Javascript file that contains only the necessary code for your application. (This removes the need to load an entire library)

There are also tools such as minify to reduce file size and cache code.
http://code.google.com/p/minify/
amazing! thanks for the info i will have a look.

i always want my sites mint. there is no use in cutting any corners. if it costs the extra time and money it is worth it. that is the only way you can see true results.
MetaMan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2010, 01:07 PM   #7
ProG
Confirmed User
 
Join Date: Apr 2009
Posts: 1,319
If you want an idea of what to expect, just use Firebug. For example: The entire front page of Facebook (the main profile page after you login) is only 102kb of JS.

__________________
History will be kind to me for I intend to write it.
ProG is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2010, 01:30 PM   #8
flip.green
Confirmed User
 
flip.green's Avatar
 
Join Date: Jun 2009
Posts: 228
Pretty sure apache can compress js with gzip without any problems, might wanna look into that.
__________________


Shemales so good looking your mom would approve
ICQ# 585156759
flip.green is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.