Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
  #16  
Old 02 Jul 2013, 01:50
bzcomputers's Avatar
bzcomputers bzcomputers is offline
 
Join Date: Apr 2012
This has already been covered here: http://www.vbulletin.org/forum/showthread.php?t=267588

...with lots more info and lots of .htaccess tweaks for all versions of vB.

Here is a good start for .htaccess tweaking:


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

Reply With Quote
  #17  
Old 03 Jul 2013, 14:32
CaneInsider CaneInsider is offline
 
Join Date: Sep 2010
Gave me a bump. Thanks
Reply With Quote
  #18  
Old 03 Jul 2013, 15:06
YOODA230 YOODA230 is offline
 
Join Date: Jun 2011
one of the best code !
Reply With Quote
  #19  
Old 03 Jul 2013, 17:20
scottct1 scottct1 is offline
 
Join Date: Mar 2002
I cant use this as my servers use NGINX and dont support .htaccess.
Reply With Quote
  #20  
Old 03 Jul 2013, 21:00
creativepart creativepart is offline
 
Join Date: Jun 2006
What does YSlow have to do with this "mod?"
Reply With Quote
  #21  
Old 04 Jul 2013, 01:09
final kaoss final kaoss is offline
 
Join Date: Apr 2006
Yes fxdigi, thanks for your contribution but this (and more) has already been added by me as bzcomputers pointed out. To be fair though, I can't take credit for all of that code. Thanks goes out to matty asia & the plugin for wordpress w3 total cache.

If you like though, I wouldn't mind any extra ideas that you may have that you can contribute to my article

Following the steps in my guide yields these results:
*With the latest test I've done for my forums, I get a score of 92
http://gtmetrix.com/reports/www.vide...t.com/lARNL8yu
*With regular sites (non forums) people can get on average 90 on pagespeed & 84 for yslow
http://gtmetrix.com/reports/www.odys...e.com/dgY7xuqQ
*Here is a standard html page with not much javascript 98/85
http://gtmetrix.com/reports/www.odys...e.com/NEUWGtPn

Last edited by final kaoss; 04 Jul 2013 at 01:28.
Reply With Quote
  #22  
Old 04 Jul 2013, 19:27
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
Originally Posted by scottct1 View Post
I cant use this as my servers use NGINX and dont support .htaccess.
For NGINX try the following code:


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

make a test on the common browsers before and after adding the code...

since I don't have NGINX on my own, I can't confirm whether it is going to work 100% or not, but that should do the work anyways
Reply With Quote
  #23  
Old 04 Jul 2013, 19:31
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
Originally Posted by addamroy View Post
According to Google Page Speed,
this hack increased my score from 83/100 to 85/100

Not much improvement, but it is an improvement.
it is a good start, possibly there is something else needs to be addressed in your codes such as css and js order arrangement or compressing images .....

you can upload an image here you use on your forum to show you how far I can shrink its size...
Reply With Quote
  #24  
Old 04 Jul 2013, 19:33
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
Originally Posted by joeychgo View Post
No appreciable difference for me - tested with gtmetrix
maybe you can try another tester like google speed page test...!!
Reply With Quote
  #25  
Old 04 Jul 2013, 19:40
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
Originally Posted by creativepart View Post
What does YSlow have to do with this "mod?"
actually, it is not only Yslow, but Page Speed Grade. That means the higher grade your page is the better performance and faster loading you will have as well as your visitors ...

you need to speed up your forum pages as fast as possible so your visitors don't run away at first time visiting...

so in summery, we need ultimate speed to load pages and that happens by removing errors, avoiding bad requests, minifying css and js, combining css if possible and js as well, reducing images size to the smallest size or through using sprites.......

so this is one way to do the process... and I will share the rest soon if I got enough time...

Cheers
Reply With Quote
  #26  
Old 04 Jul 2013, 19:55
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
Thanks, final kaoss

I already know this very well. no need to thank me for anything as I don't expect it from anyone since I love sharing whatever I have.

The purpose of such thread is to bring the max, useful and powerful codes that can be used by site owners pro and beginners so that anyone can get the advantage...

do you think newbies for example will read you article or any article that has long story... NO WAY!!

Here I want to simplify things to all by slicing up codes and so on, and introduce basic knowledge on how to deal with vb codes mainly to newbies since they are the majority ...

I'm not denying anyone's right or anything and I know you guys did great job by introducing full procedure on how to speed up vb pages, but still not everyone will read long articles as people tend to go with short and useful tools.

I believe you got the point, mate.

Sorry for writing long,

Cheers,

Originally Posted by final kaoss View Post
Yes fxdigi, thanks for your contribution but this (and more) has already been added by me as bzcomputers pointed out. To be fair though, I can't take credit for all of that code. Thanks goes out to matty asia & the plugin for wordpress w3 total cache.

If you like though, I wouldn't mind any extra ideas that you may have that you can contribute to my article

Following the steps in my guide yields these results:
*With the latest test I've done for my forums, I get a score of 92
http://gtmetrix.com/reports/www.vide...t.com/lARNL8yu
*With regular sites (non forums) people can get on average 90 on pagespeed & 84 for yslow
http://gtmetrix.com/reports/www.odys...e.com/dgY7xuqQ
*Here is a standard html page with not much javascript 98/85
http://gtmetrix.com/reports/www.odys...e.com/NEUWGtPn
Reply With Quote
  #27  
Old 04 Jul 2013, 20:04
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
By the way, just to comment on your tests!

I got to say they are very good, but the first one has some issue with Specifing image dimensions... I don't see this part covered in your article anyways...!!

The 2nd one as well has the same issue and also sprites not being used, which was discussed in your article...

The 3rd one has an issue with images optimization, ...

eventually, your tests were great, but I don't know if newbies can follow you up on this, I mean to do the same as what you did...

Thanks for sharing.

Cheers

Originally Posted by final kaoss View Post
Yes fxdigi, thanks for your contribution but this (and more) has already been added by me as bzcomputers pointed out. To be fair though, I can't take credit for all of that code. Thanks goes out to matty asia & the plugin for wordpress w3 total cache.

If you like though, I wouldn't mind any extra ideas that you may have that you can contribute to my article

Following the steps in my guide yields these results:
*With the latest test I've done for my forums, I get a score of 92
http://gtmetrix.com/reports/www.vide...t.com/lARNL8yu
*With regular sites (non forums) people can get on average 90 on pagespeed & 84 for yslow
http://gtmetrix.com/reports/www.odys...e.com/dgY7xuqQ
*Here is a standard html page with not much javascript 98/85
http://gtmetrix.com/reports/www.odys...e.com/NEUWGtPn

Last edited by fxdigi-cash; 04 Jul 2013 at 20:13.
Reply With Quote
  #28  
Old 04 Jul 2013, 20:12
final kaoss final kaoss is offline
 
Join Date: Apr 2006
Thanks for the feedback but I'm certain that if they follow the article step by step as intended they can get through it easily.

It's not listed in the article yes but if users use google pagespeed service, image dimensions and many other things are handled by that service.

As for the issue with image optimizations please inform me of what issues you encountered.

I'll be sure to check up on how your efforts are doing every now & then. Good Luck!

Last edited by final kaoss; 04 Jul 2013 at 20:24.
Reply With Quote
  #29  
Old 04 Jul 2013, 21:01
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
Thanks for the comments.

I was referring to the images size. web designers are always concerned about image size since it is an essential key to load pages very fast... so if have some images with varied sizes say 2kb for 20 png image, it is going to be 40kb in total, and that will decrease the page loading speed. in this case we tend to use either sprites to avoid size issue or converting images from png to gif since gif away smaller in size.

I believe CDN (CloudeFlare, MaxCDN) is not an option for everyone to use in order to ultimately speed up vb or site pages.

Thanks
Reply With Quote
  #30  
Old 04 Jul 2013, 22:33
final kaoss final kaoss is offline
 
Join Date: Apr 2006
Yes I can agree with that, that a cdn is not for everyone. I personally find them to be the most effective with vbulletin when they are only set to serve javascript & css.

If you use the visual studio plugin provided along with the free trial of VS, you can shave off kb's from images without changing the file extension and after that then yes, you most certainly can use sprites.
Reply With Quote
Reply



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 21:38.

Layout Options | Width: Wide Color: