Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
  #31  
Old 05 Jul 2013, 01:23
addamroy addamroy is offline
 
Join Date: Sep 2010
Originally Posted by fxdigi-cash View Post
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...
Why not just show us all! lol
Reply With Quote
  #32  
Old 05 Jul 2013, 01:35
final kaoss final kaoss is offline
 
Join Date: Apr 2006
using one of the tools provided in my article can do this easily as this picture of pngauntlet demonstrates. Sometimes there is not much gain but other times you can shave off quite a huge number of KB's from images.


Here's a sample image from my own usage of the tool:
Attached Images
File Type: jpg pnggauntlet-savings.jpg (86.7 KB, 13 views)

Last edited by final kaoss; 05 Jul 2013 at 01:43.
Reply With Quote
  #33  
Old 05 Jul 2013, 11:23
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
Originally Posted by final kaoss View Post
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.
well said. Yes, true CDN is going to be the 1st choice for anyone who wants to pay, but CloudeFlare offers a free subscription, which is good to start with. I believe they are decent to some level. I might consider their paid service near future.

For sprites, the story is very long and it depends on how you divide your css to many or only one file. if one file then taking all images in consideration to use only one sprite would take long time especially if your forum is full of custom images...
Reply With Quote
  #34  
Old 05 Jul 2013, 11:31
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
Originally Posted by addamroy View Post
Why not just show us all! lol
I would love it, but first I want to see the challenge and increase the excitement...

Ok, here is an image attached original and after shrinking in size...

notice that before.png is 1.3kb with 12x12px and then after compressing it (and renamed it as well), after.png is 429kb with 12x12px.....

for instance, it is much better than any compression tool... what you think???

perhaps I will open a topic for this just to avoid the distraction...
Attached Images
File Type: png before.png (1.3 KB, 195 views)
File Type: png after.png (429 Bytes, 195 views)
Reply With Quote
  #35  
Old 05 Jul 2013, 11:33
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
Originally Posted by final kaoss View Post
using one of the tools provided in my article can do this easily as this picture of pngauntlet demonstrates. Sometimes there is not much gain but other times you can shave off quite a huge number of KB's from images.


Here's a sample image from my own usage of the tool:
I like this tool, but still the one I use is away much better... let's test it and see more...
Reply With Quote
  #36  
Old 07 Jul 2013, 22:45
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
Moved to articles, this is not an add-on.
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
  #37  
Old 11 Aug 2013, 19:43
leanbulk leanbulk is offline
 
Join Date: Jul 2007
Does this not work with vbseo? It actually slowed me down...


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

Reply With Quote
  #38  
Old 17 Aug 2013, 21:14
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
it should be working on all vb versions without any exception. you can post your site link or a test for it using http://gtmetrix.com to see what the issue is...


Originally Posted by leanbulk View Post
Does this not work with vbseo? It actually slowed me down...


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
__________________
Shoot me a PM if I didn't reply in your post when you needed help. I can't remember things easily
Reply With Quote
  #39  
Old 19 Aug 2013, 22:13
tommythejoat's Avatar
tommythejoat tommythejoat is offline
 
Join Date: Apr 2008
Real name: Tom McIntyre
Question

Originally Posted by fxdigi-cash View Post
Hi Nirjonadda

I can't make a plugin just for such a simple code... I have many reasons why...

1- Plugins decrease vb performance and effect on the speed load.
2- it may cause a conflict with other plugins or codes, that's why adding a code directly to .htaccess is a lot better and easier.

besides, I want to reduce the number of used plugin instead of increasing them since they are big issue on vb load speed... codes are always better for performance and speed ....

Cheers
Could you tell me how plugins increase load time? Our computer executes pretty fast and the additional envelope to get to the plugin code is small, is it not?

Are you saying that if I removed all the hooks in the vBulletin php files and replaced them with the set of plugins that execute under those hooks then the site would run faster?

Has anyone done any experiments on this and is the data published?
Reply With Quote
  #40  
Old 10 Sep 2013, 23:35
datoneer datoneer is offline
 
Join Date: Jul 2011
This is my htaccess file, where do i need to put the code?
#RewriteOptions inherit
# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On

# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/

#RewriteBase /

RewriteCond %{HTTP_HOST} !^www\.imspot\.org$
RewriteRule (.*) http://www.imspot.org/$1 [R=301,L]
RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap|api\.php)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]

RewriteCond %{QUERY_STRING} ^[0-9]+-([^&]+)
RewriteRule ^/?showthread\.php$ http://www.imspot.org/forums/topic/%1 [L,R=301]


RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php [L,QSA]
Reply With Quote
  #41  
Old 14 Sep 2013, 06:01
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
Originally Posted by tommythejoat View Post
Could you tell me how plugins increase load time? Our computer executes pretty fast and the additional envelope to get to the plugin code is small, is it not?

Are you saying that if I removed all the hooks in the vBulletin php files and replaced them with the set of plugins that execute under those hooks then the site would run faster?

Has anyone done any experiments on this and is the data published?
Hi, sorry to reply late ...

As I mentioned before that actually plugins slow down the vb board. you can try that yourself. All you need is to create new forum test without any plugin and compare with the one you have now that has plugins. in general plugins require a query most of the time that causes more stress and database slowing down...

That's why we try to avoid storing css files in the database and use the stored ones in the vb instead. In fact, using codes instead of plugins would certainly speed up the vb board. Remember that also good web hosting Co also play a roll in here to make things great eventually.

Alexa Traffic Rank plugin for Chrome browser can tell you whether you hosting load quality.

Good luck

--------------- Added 14 Sep 2013 at 06:29 ---------------

Originally Posted by datoneer View Post
This is my htaccess file, where do i need to put the code?
sorry to reply late, you could shoot me a pm as a reminder...

ok, your site doesn't need only this code, but more than that. you need to fix the following:

1- Add Expires headers, here:


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

2- Compress components with gzip. you need to activate this function from your php.ini if you have Linux.

3- remove jquery.twitter.js and twitter.css since they are not found...

4- you have to remove Jquery scripts that are repeated. You have 3 of them, you need only 1 and no more... this will increase your vb loading time very noticeably.

5- combine the following css files together:
dbtech_vbshout.css,
dbtech_vbshout_colours.css,
dbtech_vbshout_editor.css,
notice.css,

And put all of them in additional.css, make your you have a copy of original files just in case. Then remove the css files mentioned above from the template through you vb Admin CP.

6- last, I noticed you have a lot of png images, so it is better and sure for super performance to cut down the size of the images by compressing them:

use http://compresspng.com/ for png images.

and use http://compressjpg.com/ for jpg images.

for example, I could compress your logo from 25K PNG to 8.3K PNG, which is amazingly by (-67%)

if you have any question, please let me know.

Good luck
__________________
Shoot me a PM if I didn't reply in your post when you needed help. I can't remember things easily
Reply With Quote
  #42  
Old 21 Jul 2015, 18:51
friendlymela's Avatar
friendlymela friendlymela is offline
 
Join Date: Dec 2012
Real name: Zeeshan Shams
it will work on vb 4?
Reply With Quote
  #43  
Old 27 Jul 2015, 01:38
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
Originally Posted by friendlymela View Post
it will work on vb 4?
yes, sure it does. it works for both vb4 and vb3 without issues!
__________________
Shoot me a PM if I didn't reply in your post when you needed help. I can't remember things easily
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 07:36.

Layout Options | Width: Wide Color: