Go Back   vb.org Archive > vBulletin Article Depository > Read An Article > vBulletin 4 Articles
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
YSlow Improve vb load speed v1
fxdigi-cash
Join Date: Jul 2012
Posts: 674

 

Show Printable Version Email this Page Subscription
fxdigi-cash fxdigi-cash is offline 06-30-2013, 10:00 PM

Good day, mates,

This is a just a beginning of my journey to optimize vb to the max and possible load speed...

INFO: :
------------------------------------------------
This little code can increase both load speed and vb pages performance...

It works on all vb versions starting from vb3.x.x till vb5...

Read more about Yslow link

Note:
The first release to page optimization code v1

Installation:

All you have to do is copy the code below and add it to your .htaccess in the vb root,

make sure to test your vb load speed before doing that in order to know whether you did the above step right or not...

sites to test your vb load speed:

1- http://gtmetrix.com/
2- http://tools.pingdom.com/fpt/
3- Google Speed test

The code:
PHP Code:
<IfModule mod_headers.c>
    <
FilesMatch "\.(bmp|css|flv|gif|ico|jpg|jpeg|js|pdf|png|svg|swf|tif|tiff)$">
        
Header set Last-Modified "Mon, 15 Feb 2013 00:00:00 GMT"
    
</FilesMatch>
</
IfModule
Uninstallation:
All you need is to remove the code if you didn't want to use it anymore.

make sure you take a copy of your .htaccess before you make any modification.


Please make as installed if you used it....

Thanks,
Reply With Quote
  #2  
Old 07-01-2013, 04:10 PM
Nirjonadda Nirjonadda is offline
 
Join Date: Dec 2011
Location: Italy
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please can you make any plugin/mod for increase vb load speed without manual editing .htaccess files?
Reply With Quote
  #3  
Old 07-01-2013, 04:21 PM
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Nirjonadda View Post
Please can you make any plugin/mod for increase vb load speed without manual editing .htaccess files?
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
Reply With Quote
  #4  
Old 07-01-2013, 04:33 PM
Nirjonadda Nirjonadda is offline
 
Join Date: Dec 2011
Location: Italy
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK ! Does It increase high server load issue?
Reply With Quote
  #5  
Old 07-01-2013, 04:51 PM
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Nirjonadda View Post
OK ! Does It increase high server load issue?
what does it mean? can you explain a little plz

maybe I didn't get you right, possibly you mean whether plugins affect heavy load....!!

if yes, then yes plugins always cause slower speed and bad performance to vb
Reply With Quote
  #6  
Old 07-01-2013, 04:54 PM
Nirjonadda Nirjonadda is offline
 
Join Date: Dec 2011
Location: Italy
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had high load in my server, Can i get some benefit from this?
Reply With Quote
  #7  
Old 07-01-2013, 05:04 PM
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

of course, you will notice the difference directly after you add this code to your root .htaccess.

As I mentioned in the main thread that this is to reduce the load on the vb pages.

also it will clear any error in the browser Header set... so 100% useful.

you can test your vb on google speed before and after adding the code and you will notice the difference. also you use the other recommended testing sites above to see the speed improvement...

Quote:
Originally Posted by Nirjonadda View Post
I had high load in my server, Can i get some benefit from this?
Reply With Quote
  #8  
Old 07-01-2013, 05:09 PM
sadiq6210 sadiq6210 is offline
 
Join Date: Sep 2005
Posts: 684
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This great code increased my website score in (Google speed page) from 59% to 84%
I wish you continue and release more improvements in this thread

Thank you
Reply With Quote
Благодарность от:
fxdigi-cash
  #9  
Old 07-01-2013, 05:15 PM
Nirjonadda Nirjonadda is offline
 
Join Date: Dec 2011
Location: Italy
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please can you tell me? I have a .htaccess file with default this code,where the YSlow code are need to add?

Code:
# -FrontPage-

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName mysite.com
AuthUserFile /home/user/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/user/public_html/_vti_pvt/service.grp
Reply With Quote
  #10  
Old 07-01-2013, 05:17 PM
davidg davidg is offline
 
Join Date: Apr 2010
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you read this thread before posting fxdigi-cash
Reply With Quote
Благодарность от:
bzcomputers
Reply


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

Forum Jump


All times are GMT. The time now is 09:18 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08955 seconds
  • Memory Usage 2,313KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_article
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (7)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete