Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-29-2007, 11:47 PM
budswope budswope is offline
 
Join Date: Feb 2006
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Why is Javascript is creating Huge Lag Issues?

My forum has reply, PM and thread posting fields that have such a bad lag to them that I have to turn javascript off just so its not too annoying to even bother posting.

Some members have mentioned it and that it comes and goes for them but for myself and another Mac/Firefox user that I know its a horrible lag where you have to sit and wait for your words to catch up to your typing.

When I turn off javascript or switch to Opera there is no more lag.

It does not happen in other forums I go to except for my other vb forum I have on the same server. One is running 3.5.4 and the other 3.6.8.

The 3.6.8 forum only has 3-4 hacks.
Reply With Quote
  #2  
Old 10-30-2007, 05:33 AM
Analogpoint's Avatar
Analogpoint Analogpoint is offline
 
Join Date: Feb 2007
Posts: 656
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you disable your mods and switch back to the default style, does it still have this problem?
Reply With Quote
  #3  
Old 10-30-2007, 07:52 AM
budswope budswope is offline
 
Join Date: Feb 2006
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When plugins are disabled it still happens. I forgot to test that before but no-still lagged.
I took Firefox and stripped it down too just in case it was a skin or add-on and it still happens.
Only when I disable javascript does it not lag.

One thing I did find was it happens in Sea Monkey and the Mozilla browser but not in Camino which is the native Mac browser.

Original White skin has the same lag as well.
Reply With Quote
  #4  
Old 10-30-2007, 08:25 AM
RedTyger's Avatar
RedTyger RedTyger is offline
 
Join Date: Nov 2006
Location: UK
Posts: 1,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You have the code to vbulletin's md5 javascript added to your template twice, though I don't suppose that would make much difference.

You don't have gzipping enabled which certainly will make a difference, although I'm not sure if the built-in gzip function deals with external javascript files, I suspect it doesn't.

This is well worth reading: http://developer.yahoo.com/performance/rules.html and is accompanied by a Firefox plugin called Yslow which is very good, although both do require that you know what you're doing to some extent.
Reply With Quote
  #5  
Old 10-30-2007, 04:44 PM
Analogpoint's Avatar
Analogpoint Analogpoint is offline
 
Join Date: Feb 2007
Posts: 656
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think he's saying that while typing, Javascript is doing something, making the letters appear slowly in the textarea.
Reply With Quote
  #6  
Old 11-03-2007, 04:40 AM
budswope budswope is offline
 
Join Date: Feb 2006
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Analogpoint View Post
I think he's saying that while typing, Javascript is doing something, making the letters appear slowly in the textarea.
Absolutely and sometimes its so bad 1 character = 2-3 seconds.

I was sure it was the state of the forum I had which was my first and had a slew of hacks installed and uninstalled and lots of different skins but then I opened the 3.6.8 forum just recently and its the same shit. Mind numbingly frustrating.


Thanks for this link--its pretty helpful regardless...
http://developer.yahoo.com/performance/rules.html
Reply With Quote
  #7  
Old 11-03-2007, 04:53 AM
Analogpoint's Avatar
Analogpoint Analogpoint is offline
 
Join Date: Feb 2007
Posts: 656
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Might it be your browser? I don't have this problem with any vB based forums I visit. Share or PM your URL with a test account and I'll see if I have the same problem.
Reply With Quote
  #8  
Old 11-03-2007, 06:24 AM
budswope budswope is offline
 
Join Date: Feb 2006
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Analogpoint View Post
I think he's saying that while typing, Javascript is doing something, making the letters appear slowly in the textarea.
Weird the time I tried to post this before it said "site unavailable". Oh well.

Are you on a mac? Is anyone on a mac that can test it because I have only found problems with mac users like myself and only in the Mozilla line of browsers.
Reply With Quote
  #9  
Old 11-03-2007, 04:58 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you want people to test it out, you should provide a test account with username/password.
Reply With Quote
  #10  
Old 11-03-2007, 07:50 PM
Analogpoint's Avatar
Analogpoint Analogpoint is offline
 
Join Date: Feb 2007
Posts: 656
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by budswope View Post
Weird the time I tried to post this before it said "site unavailable". Oh well.

Are you on a mac? Is anyone on a mac that can test it because I have only found problems with mac users like myself and only in the Mozilla line of browsers.
Post or PM a test account and I'll check it out.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:05 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08687 seconds
  • Memory Usage 2,249KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete