vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Why is Javascript is creating Huge Lag Issues? (https://vborg.vbsupport.ru/showthread.php?t=161463)

budswope 10-29-2007 11:47 PM

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.

Analogpoint 10-30-2007 05:33 AM

If you disable your mods and switch back to the default style, does it still have this problem?

budswope 10-30-2007 07:52 AM

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.

RedTyger 10-30-2007 08:25 AM

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.

Analogpoint 10-30-2007 04:44 PM

I think he's saying that while typing, Javascript is doing something, making the letters appear slowly in the textarea.

budswope 11-03-2007 04:40 AM

Quote:

Originally Posted by Analogpoint (Post 1372106)
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

Analogpoint 11-03-2007 04:53 AM

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.

budswope 11-03-2007 06:24 AM

Quote:

Originally Posted by Analogpoint (Post 1372106)
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.

Lynne 11-03-2007 04:58 PM

If you want people to test it out, you should provide a test account with username/password.

Analogpoint 11-03-2007 07:50 PM

Quote:

Originally Posted by budswope (Post 1374678)
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.


All times are GMT. The time now is 10:11 PM.

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.01021 seconds
  • Memory Usage 1,731KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete