Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
  #166  
Old 13 Oct 2013, 20:21
blackberry's Avatar
blackberry blackberry is offline
 
Join Date: Feb 2008
Real name: Sheem
Originally Posted by final kaoss View Post
They're opening fine for me using google chrome & firefox.

Also you have over 400 requests on every page. You might want to trim that down as each request adds to the load time.
http://www.webpagetest.org/result/131010_V4_E9C/

Comparing it to my site, mine only makes 28 requests on every page load and if a user is returning then it's only 18 requests for them. Refer to what I said earlier about cutting back on third party scripts or they will continue to put a burden on your site.

Also it looks like you have alot of active members who may be posting images from third party hosts. This addon can help to localize them & reduce page load time for returning visitors.
http://www.vbulletin.org/forum/showthread.php?t=253309

It looks like if you hosted the images on your domain instead of photobucket you could shave off 71KB... quite a bit.
Also if you scale the images you can save over 480KB... all in all around half a megabyte.
This article can help you with image scaling since you use vbseo http://www.vbulletin.org/forum/showthread.php?t=276910

And finally if you defer the parsing of javascript... as I mentioned in another post, you can save another 190KB or so worth of bandwidth.
its opening because m using the old hta .. no one was able to login so i changed it

thank you for the tips
__________________
SachiiDosti - Hum Sub Dost Hain
Reply With Quote
  #167  
Old 14 Oct 2013, 13:53
final kaoss final kaoss is offline
 
Join Date: Apr 2006
Good to see that you got your issues fixed. Let me know if you need help with anything else.
Reply With Quote
  #168  
Old 18 Nov 2013, 13:22
final kaoss final kaoss is offline
 
Join Date: Apr 2006
Update: A bit more security has been added to the .htaccess on the first post. This has been attributed properly to http://bodvoc.com/
Reply With Quote
  #169  
Old 22 Nov 2013, 14:58
Disco_Dave's Avatar
Disco_Dave Disco_Dave is offline
 
Join Date: May 2011
Can this, and the other mods recommended in this article still work with 4.2.2?

Dave
__________________
www.nirc.co.uk
Reply With Quote
  #170  
Old 22 Nov 2013, 17:35
final kaoss final kaoss is offline
 
Join Date: Apr 2006
Yes, I still use them including the supercharged plugin, (except for the sprite mod) on my vb 4.2.2

Last edited by final kaoss; 22 Nov 2013 at 19:10.
Reply With Quote
  #171  
Old 23 Nov 2013, 11:03
Disco_Dave's Avatar
Disco_Dave Disco_Dave is offline
 
Join Date: May 2011
I'll give it another shot, it messes with my style a good bit, and I'm not 100% sure I have the skills to fix it......
__________________
www.nirc.co.uk
Reply With Quote
  #172  
Old 23 Nov 2013, 16:20
final kaoss final kaoss is offline
 
Join Date: Apr 2006
Turns out that there's quite a few issues with the sprite mod and I've marked it optional as such. Instead of going for that, I use lazy load images, which I've included a link to in the first post.

If you want to pursue getting the sprite mod to work, GL!
Reply With Quote
  #173  
Old 24 Nov 2013, 05:42
mathforum mathforum is offline
 
Join Date: Nov 2005
I've tried out lots of things in this thread over the past couple of years and overall it's been really helpful so thank you first of all.

After researching and researching it seems like vB biggest problem is loading javascript in a bad way that doesn't allow parallel downloading when going through the html header. I've chatted with you about ways to try to compress the JS files but I'm not confident I can do that correctly. It seems like if there were a good fix for the JS files then it would be available, right?

What I do think is a good idea is using a CDN to load the CSS and JS. Images should go there too but I think the first two file types cause the biggest problems. Now there are lots of options out there for CDNs but I believe it's possible to mimic a CDN by creating a subdomain on one's own site to load from. Is that correct? If so, do you know of anyone doing this for a vB forum?

Here is my gtmetrix report if you are interested. Our load time is horrible according to them but for me it's usually lightning quick to load. I feel like Google Adsense will add one 1-2 seconds to a page sometimes but the real content is already loaded by then.
Reply With Quote
  #174  
Old 24 Nov 2013, 05:53
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Originally Posted by mathforum View Post
I believe it's possible to mimic a CDN by creating a subdomain on one's own site to load from. Is that correct? If so, do you know of anyone doing this for a vB forum?
I have seen that done and it does not help speed at all, it's simply not a Content Delivery Network - in the end it's just another folder on your same host.
Here is my gtmetrix report if you are interested. Our load time is horrible according to them but for me it's usually lightning quick to load. I feel like Google Adsense will add one 1-2 seconds to a page sometimes but the real content is already loaded by then.
I use ONLY the Patrick Meehan webpagetest site (Meehan is Google's Tech head.) They're not selling ANYTHING there... Most sites that give you a bad report, are. Webpagetest is ALL about education.

Here's a test I just did on you, the pageload is not too shabby for a site loading 111 requests.... This was with a IE10 browser on cable internet, Dulles VA. You can choose any browser, dozens of locations and connection types.

http://www.webpagetest.org/result/131124_WS_5SN/

As you can see by clicking on the waterfall view, your js is cascading parallel, just fine and dandy for IE10.
Reply With Quote
  #175  
Old 24 Nov 2013, 06:12
mathforum mathforum is offline
 
Join Date: Nov 2005
Question

Thank you again for your comments

I've used WebPagetest before many times in addition to some others. The output of it isn't as clear as to what steps can be made to improve issues like on gtmetrix or YSlow. Nevertheless, the main issues are pretty clear to me concerning vB - loading static content better.

It's interesting you say that the JS files are actually loading in parallel, which is something I thought was a big problem for vB. I also have a handful of other JS code/files related to Tapatalk and Mathjax. In terms of just moving all JS, CSS and images to a CDN without any further tweaking - how much of an improvement do you think this could make? I really wish we had some "before and after" data to look at.

Trying to make real changes to my site that result in better speeds is something that has been like a theoretical marathon of reading about different strategies but not knowing how to do them. I would like to try to implement something at last, but need guidance where to start.
Reply With Quote
  #176  
Old 24 Nov 2013, 06:20
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Originally Posted by mathforum View Post
Thank you again for your comments

I've used WebPagetest before many times in addition to some others. The output of it isn't as clear as to what steps can be made to improve issues like on gtmetrix or YSlow. Nevertheless, the main issues are pretty clear to me concerning vB - loading static content better.

It's interesting you say that the JS files are actually loading in parallel, which is something I thought was a big problem for vB. I also have a handful of other JS code/files related to Tapatalk and Mathjax. In terms of just moving all JS, CSS and images to a CDN without any further tweaking - how much of an improvement do you think this could make? I really wish we had some "before and after" data to look at.

Trying to make real changes to my site that result in better speeds is something that has been like a theoretical marathon of reading about different strategies but not knowing how to do them. I would like to try to implement something at last, but need guidance where to start.
Keeping consistent with your testing is key to seeing before/after results. These Meehan tests stay up - you can bookmark them. You can repeat them with exact parameters. Compare results of changes. Over time. Like I said that is all I use - keeping the test variables and conditions to a minimum.

You'll see when you click on the waterfall view of your test, what I am talking about re: your js files cascading parallel nicely. Then run the test using a IE6 or 7 or 8 browser and you will see them, NOT do that. Older browsers just can't load js parallel.

There's all kinds of tutorials based on your specific tests, at Meehan. There's also a message board community there not unlike this one, with many knowledgeable volunteer helpers like alot of the folks here at vB dot org.
Reply With Quote
  #177  
Old 24 Nov 2013, 07:00
mathforum mathforum is offline
 
Join Date: Nov 2005
The thing is we are all using the same base code for vB 4.x.x and most of the techniques for improving performance should be applicable to everyone else I would think. I'm not against doing tests and gathering data, in fact I enjoy that sort of thing, but I don't have an idea of where to start.

I just checked out http://www.video-game-chat.com/forum/ which is the website of the author of this article and I'm thrilled to see a super fast loading time and a great Webpagetest report. I wonder why he has so little files to load compared to my site?

Ok I'll start with double checking my .htaccess file. vbsupercharged is EOL so can't use that and the CSS Sprites program has issues according to this thread. That pretty much leaves using a CDN and Lazy load images right?
Reply With Quote
  #178  
Old 24 Nov 2013, 07:34
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Originally Posted by mathforum View Post

I just checked out http://www.video-game-chat.com/forum/ which is the website of the author of this article and I'm thrilled to see a super fast loading time and a great Webpagetest report. I wonder why he has so little files to load compared to my site?
Because like me, he is not running any adverts. He also like me, has a very simple skin design that doesn't have a million large kb images associated with it. I'm only faster than him because I run vB 3.8.

Every image, every advert, and alot of the mods you might install, are going to have their calls in the script. It can add up really quickly and bog your site down - it's one of the reasons your first byte time is relatively slow too. You have a heavy web page. Over 1,000 kb loaded there.

Look at the waterfall in detail, look at what all of your 111 calls are. Default vBulletin out of the box only has 30 calls or so....

http://www.webpagetest.org/result/13...5SN/1/details/

At the bottom of the waterfall, click on "View all images" to get details on all your image sizes, whether they are compressed or not, and so on.


By contrast, he's got TINY images that he sizes in the script, they don't load very many kb on a browser.

http://www.webpagetest.org/pageimage...run=1&cached=0



Here's me. You don't need a CDN to be greasy fast.

http://www.webpagetest.org/result/131124_X8_7E5/

Last edited by Max Taxable; 24 Nov 2013 at 07:57.
Reply With Quote
  #179  
Old 24 Nov 2013, 09:36
mathforum mathforum is offline
 
Join Date: Nov 2005
Very interesting to see the images displayed like that! Thank you for showing me this option.

You make a good point. My custom design is heavy with pictures and we do have a decent amount of mods running that might not be optimized for speed. The number of requests is just too high I think. I don't know how to do this, but combining images lots of the tinier images into a sprite would be helpful. Luckily on the homepage there's only one modification that adds a lot of js and requests, but I can't get rid of it so that is what it is. Google ads are also being a bit annoying with the number of files and images running each time.

Speaking of sprites, it seems the mod referenced in this article might still work for vB 4.2.0, the version we have. I'm worried about all of our custom images not working with the code but I'll give it a shot. If you have any advice on this I am all ears, otherwise I'll do my best to use the directions plus support thread.

This has been a good discussion because I'm now seeing more details than I was before and in a more useful way. Maybe my misunderstandings can be useful to others who also don't know how apply the advice here.
Reply With Quote
  #180  
Old 24 Nov 2013, 14:51
final kaoss final kaoss is offline
 
Join Date: Apr 2006
Alot of images can slow a site down alot. Using Lazy Load, you can help reduce the load for guests... idk about search bots. As it loads images as the user scrolls down, meaning they can load many of the other static elements first. As for optimizing images, there's a few on the OP that don't reduce the quality, just the kb of the images; aka lossless image optimization.

As for using mods that you feel aren't optimized, for those that use js, you can run them through a javascript compressor online like this one.

You can give the sprite mod a chance if you want but it gives users hell just to get the thing running and some people can't get it to run at all! Which is why I don't recommend it.

I think the last thing you need to do is play around with deferring js... but don't go crazy with it, some core js just won't work if you try to defer it and cause you issues. It's been a while since I dabbled with it, so if you can report your findings on that here... it would help alot!

The easiest way to remember to do this is to insert it in the first script tag before it closes like so.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
Reply

Similar Article
Article Author Type Replies Last Post
Mini Mods Use Google Custom Search In Navbar - Step By Step rajubd vBulletin 4.x Template Modifications 104 29 Jul 2017 15:43


Tags
cloudflare


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Article Options

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


New To Site? Need Help?

All times are GMT. The time now is 14:58.

Layout Options | Width: Wide Color: