PDA

View Full Version : vB4 is very slow....


10 Gauge
02-26-2010, 02:39 AM
I own my own dual core colocated box that our forum is hosted on and I have checked system resources and load averages and all are very low. vb3 used to run LIGHTNING fast, ever since upgrading to vb4 page load times are absolutely horrible, everything feels so sluggish.

Is there a way to speed her up??? I have installed the Optimization hook and run it and it didn't seem to do diddly.

Any other suggestions?

TimberFloorAu
02-26-2010, 03:03 AM
http://www.mauldroppers.com/images/misc/amflagbg.jpg

39 kb

http://www.mauldroppers.com/images/misc/mdv20logo.png

339 kb

Cmon mate you have to be kidding !!

TimberFloorAu
02-26-2010, 03:06 AM
Redoing you main logo as a transparent gif ( very quick re-edit ) reduces that file by 2/3's its original size

10 Gauge
02-26-2010, 03:32 AM
Those are not what's causing my sites slowdown. These have been in place since we used vb3, which I repeat was fast as hell. vb4 is a DOG!

TimberFloorAu
02-26-2010, 03:36 AM
Have you looked into other forum software ?

10 Gauge
02-26-2010, 04:01 AM
Why would I do such a thing?

TimberFloorAu
02-26-2010, 04:24 AM
Just a hunch :D

almannai
02-26-2010, 05:31 AM
I own my own dual core colocated box that our forum is hosted on and I have checked system resources and load averages and all are very low. vb3 used to run LIGHTNING fast, ever since upgrading to vb4 page load times are absolutely horrible, everything feels so sluggish.

Is there a way to speed her up??? I have installed the Optimization hook and run it and it didn't seem to do diddly.

Any other suggestions?

try rebuild styles from maintenance

Andy
02-26-2010, 08:54 AM
I own my own dual core colocated box that our forum is hosted on and I have checked system resources and load averages and all are very low. vb3 used to run LIGHTNING fast, ever since upgrading to vb4 page load times are absolutely horrible, everything feels so sluggish.

Is there a way to speed her up??? I have installed the Optimization hook and run it and it didn't seem to do diddly.

Any other suggestions?

One reason vB4 is slower than vb3 is the use of shading and rounded corners. Add this to the bottom of the additional.css template and your forum will speed up considerably.

* { -moz-box-shadow: none !important; }
* { -webkit-box-shadow: none !important; }

* { -moz-border-radius: 0px !important; }
* { -webkit-border-radius: 0px !important; }

tattooed
02-26-2010, 03:52 PM
Thanks Andy, that made my forum noticeably faster.

ericgtr
02-26-2010, 04:05 PM
One reason vB4 is slower than vb3 is the use of shading and rounded corners. Add this to the bottom of the additional.css template and your forum will speed up considerably.

* { -moz-box-shadow: none !important; }
* { -webkit-box-shadow: none !important; }

* { -moz-border-radius: 0px !important; }
* { -webkit-border-radius: 0px !important; }
Nice. Installed! :D

haXan
02-27-2010, 09:01 AM
How can we add this codes ?

I added this codes to CSS Options but I cant save anything, cause there is no SAVE button anywhere...

? ? ?

ProFifaLeagues
02-27-2010, 10:59 AM
Any more info on ading this code?

Paul M
02-27-2010, 11:11 AM
As the instructions say ;

Add this to the bottom of the additional.css template

Just like you would edit any other template.

ChopSuey
02-27-2010, 12:24 PM
Try requesting for server optimization over at vb.com

ProFifaLeagues
02-27-2010, 12:35 PM
Will try this now thanks

compwhizii
02-27-2010, 04:01 PM
One reason vB4 is slower than vb3 is the use of shading and rounded corners. Add this to the bottom of the additional.css template and your forum will speed up considerably.

* { -moz-box-shadow: none !important; }
* { -webkit-box-shadow: none !important; }

* { -moz-border-radius: 0px !important; }
* { -webkit-border-radius: 0px !important; }

Are you serious? Are you telling me that rounded corners are going to slow website loading to a crawl?

Please refer to this (http://mypetjawa.mu.nu/archives/picard-facepalm.jpg).

With firebug, it's saying that to load the main page I need 91 HTTP requests, taking 22 seconds, and is 860KB to download with nothing cached. The vbulletin default theme is 64 requests and 280 KB. Mine is 32 requests 322KB. That's way too many requests and way too much to download.

YSlow tells a similar tale also,
http://grab.by/2IQs
Grade of E, I'm surprised it's not F.
http://grab.by/2IQu
You have Zero Caching on almost all of your files. Every time someone loads the page they need to request the files again. That's wasteful.

Before you start pointing fingers at vbulletin you need to do some serious optimization.

ericgtr
02-27-2010, 05:00 PM
All I can say is that I made this simple change to my site and the difference in how fast it loads now is night and day. It's like moving it to a lighting fast server.

ChopSuey
02-27-2010, 05:05 PM
I have tried it and it messed up my style lol.

compwhizii
02-27-2010, 05:35 PM
All I can say is that I made this simple change to my site and the difference in how fast it loads now is night and day. It's like moving it to a lighting fast server.

I'd like to see some real benchmarks and tests to back this up. This can't affect the speed at which the page downloads, however it can affect how fast it renders in the browser. Rendering is something the user's computer and browser can be at fault for.

ChopSuey
02-27-2010, 05:41 PM
vB4 css is forcing rounded corners yes! Removing them is a good idea.

TNCclubman
02-27-2010, 06:47 PM
This simple piece of advice should be made a sticky.

ChopSuey
02-27-2010, 06:52 PM
Im making an article on speeding up vBulletin 4 i'll be sure to list this and give him credit.

compwhizii
02-27-2010, 06:59 PM
vB4 css is forcing rounded corners yes! Removing them is a good idea.

No it doesn't have any effect on the speed at which vb4 operates.

ericgtr
02-28-2010, 12:07 PM
No it doesn't have any effect on the speed at which vb4 operates.
That is simply untrue.

ChopSuey
02-28-2010, 12:15 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=237025" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=237025</a>

Check my article.

compwhizii
02-28-2010, 01:26 PM
That is simply untrue.

You have no idea what you're talking about. CSS is client side, not server side.

ericgtr
02-28-2010, 01:55 PM
You have no idea what you're talking about. CSS is client side, not server side.
Where did I ever make that claim?

Here's the bottom line, before applying this simple little CSS change a board can take 5 seconds to load, after applying it, the board can load in 1 or 2 seconds, that's what matters to the end user.

compwhizii
02-28-2010, 03:00 PM
Where did I ever make that claim?

Here's the bottom line, before applying this simple little CSS change a board can take 5 seconds to load, after applying it, the board can load in 1 or 2 seconds, that's what matters to the end user.

Where is this happening? What browsers and OS?

ericgtr
02-28-2010, 03:34 PM
Where is this happening? What browsers and OS?
It's happening because of the rounded corners and shadows, as was implied on the first page of this thread. This is not the only thread on this issue with the new VB it's all over the place at the main site as well.

compwhizii
02-28-2010, 04:17 PM
It's happening because of the rounded corners and shadows, as was implied on the first page of this thread. This is not the only thread on this issue with the new VB it's all over the place at the main site as well.

It doesn't happen for me, and I'd like to see links to these threads on vb.com

ChopSuey
02-28-2010, 05:49 PM
Comp if you look yourself, most of the styles are "rounded" its right in front of your eyes! And compare those rounded corners to vB3, then add the code he provided its the same just everything that was round is now not forced to be round.

compwhizii
02-28-2010, 06:53 PM
Comp if you look yourself, most of the styles are "rounded" its right in front of your eyes! And compare those rounded corners to vB3, then add the code he provided its the same just everything that was round is now not forced to be round.

YES I REALIZE THAT

What I'm not understanding is HOW this effects the speed at which the page will render so horribly. You guys are failing to prove this in any documented and benchmarked way. Stop being so thickheaded and avoiding answering the question as to HOW this effects page loading and how badly, only stating that it does.

TimberFloorAu
02-28-2010, 07:54 PM
Plenty of stuff about shading and rounded corners slowing sites down, esp. in Mozilla.

I am pretty sure this harks back to Nifty but anyhoo..

Found this interesting:

http://www.ruzee.com/blog/shadedborder

Using Liquid Canvas
http://www.ruzee.com/files/liquid-canvas/demo.html

I think those stating it slows the page down, are basing this on the rendering of rounded corner images. But using javascript to accomplish the task.

I have seen no speed increase/decrease either way

Bouncer222
03-01-2010, 12:16 AM
Just installed this

* { -moz-box-shadow: none !important; }
* { -webkit-box-shadow: none !important; }

* { -moz-border-radius: 0px !important; }
* { -webkit-border-radius: 0px !important; }

but cant really feel the difference....

ProFifaLeagues
03-01-2010, 04:43 AM
* { -moz-box-shadow: none !important; }
* { -webkit-box-shadow: none !important; }

* { -moz-border-radius: 0px !important; }
* { -webkit-border-radius: 0px !important; }

Do i add it just as above with all the }{ etc???

ChopSuey
03-01-2010, 07:29 AM
isn't additional.CSS empty ? Just add it in there.

Dunhamzzz
03-01-2010, 02:36 PM
The only difference removing the rounded corners will make is that the page will render slightly faster on slow computers that are using old browsers.

In fact, if you are using Internet Explorer, which simply ignores all the rounded corners anyway, you won't notice a difference at all.

It's like saying "make the background blue" to make it faster. All you're doing is changing the look.

ericgtr
03-01-2010, 02:38 PM
YES I REALIZE THAT

What I'm not understanding is HOW this effects the speed at which the page will render so horribly. You guys are failing to prove this in any documented and benchmarked way. Stop being so thickheaded and avoiding answering the question as to HOW this effects page loading and how badly, only stating that it does.

We are not out to prove anything, we are saying this fix improves speed. No more, no less. The only one being thickheaded about this is you.

compwhizii
03-01-2010, 05:55 PM
We are not out to prove anything, we are saying this fix improves speed. No more, no less. The only one being thickheaded about this is you.

If you can't prove it it's not true, you just believe it is.

Zachery
03-01-2010, 06:04 PM
Not sending the rounded corners will increase page rendering time in browsers that do support rounded borders.

It will not actually improve users time that it takes to get the page from your server.

Exeter
03-03-2010, 01:28 AM
The rounded corners are rendered client side as compwhizii points out. True, the overall performance of board will improve, if the client render time is reduced. On a modern machine, however, this change will have almost no effect. This is a technicality.

What I'd like to see are perf comparisons on neutral hardware using the same payload.