vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=242)
-   -   YSlow Improve vb load speed v1 (https://vborg.vbsupport.ru/showthread.php?t=299701)

fxdigi-cash 09-14-2013 04:01 AM

Quote:

Originally Posted by tommythejoat (Post 2439828)
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 [DATE]1379136582[/DATE] at [TIME]1379136582[/TIME] ---------------

Quote:

Originally Posted by datoneer (Post 2444725)
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:

PHP Code:

<IfModule mod_expires.c>
        
ExpiresActive On
        ExpiresByType text
/css A2628000
        ExpiresByType text
/richtext A3600
        ExpiresByType image
/svg+xml A3600
        ExpiresByType text
/plain A3600
        ExpiresByType text
/xsd A3600
        ExpiresByType text
/xsl A3600
        ExpiresByType video
/asf A2628000
        ExpiresByType video
/avi A2628000
        ExpiresByType image
/bmp A2628000
        ExpiresByType application
/java A2628000
        ExpiresByType video
/divx A2628000
        ExpiresByType application
/msword A2628000
        ExpiresByType application
/x-msdownload A2628000
        ExpiresByType image
/gif A2628000
        ExpiresByType application
/x-gzip A2628000
        ExpiresByType image
/x-icon A2628000
        ExpiresByType image
/jpeg A2628000
        ExpiresByType application
/vnd.ms-access A2628000
        ExpiresByType audio
/midi A2628000
        ExpiresByType video
/quicktime A2628000
        ExpiresByType audio
/mpeg A2628000
        ExpiresByType video
/mp4 A2628000
        ExpiresByType video
/mpeg A2628000
        ExpiresByType application
/vnd.ms-project A2628000
        ExpiresByType application
/vnd.oasis.opendocument.database A2628000
        ExpiresByType application
/vnd.oasis.opendocument.chart A2628000
        ExpiresByType application
/vnd.oasis.opendocument.formula A2628000
        ExpiresByType application
/vnd.oasis.opendocument.graphics A2628000
        ExpiresByType application
/vnd.oasis.opendocument.presentation A2628000
        ExpiresByType application
/vnd.oasis.opendocument.spreadsheet A2628000
        ExpiresByType application
/vnd.oasis.opendocument.text A2628000
        ExpiresByType audio
/ogg A2628000
        ExpiresByType application
/pdf A2628000
        ExpiresByType image
/png A2628000
        ExpiresByType application
/vnd.ms-powerpoint A2628000
        ExpiresByType audio
/x-realaudio A2628000
        ExpiresByType application
/x-shockwave-flash A2628000
        ExpiresByType application
/x-tar A2628000
        ExpiresByType image
/tiff A2628000
        ExpiresByType audio
/wav A2628000
        ExpiresByType audio
/wma A2628000
        ExpiresByType application
/vnd.ms-write A2628000
        ExpiresByType application
/vnd.ms-excel A2628000
        ExpiresByType application
/zip A2628000
        ExpiresByType application
/javascript A2628000
</IfModule

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

friendlymela 07-21-2015 03:51 PM

it will work on vb 4?

fxdigi-cash 07-26-2015 10:38 PM

Quote:

Originally Posted by friendlymela (Post 2550975)
it will work on vb 4?

yes, sure it does. it works for both vb4 and vb3 without issues! :up:


All times are GMT. The time now is 10:35 AM.

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.01712 seconds
  • Memory Usage 1,756KB
  • 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
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete