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 06-30-2013 10:00 PM

YSlow Improve vb load speed v1
 
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,

Nirjonadda 07-01-2013 04:10 PM

Please can you make any plugin/mod for increase vb load speed without manual editing .htaccess files?

fxdigi-cash 07-01-2013 04:21 PM

Quote:

Originally Posted by Nirjonadda (Post 2431531)
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:)

Nirjonadda 07-01-2013 04:33 PM

OK ! Does It increase high server load issue?

fxdigi-cash 07-01-2013 04:51 PM

Quote:

Originally Posted by Nirjonadda (Post 2431537)
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

Nirjonadda 07-01-2013 04:54 PM

I had high load in my server, Can i get some benefit from this?

fxdigi-cash 07-01-2013 05:04 PM

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 (Post 2431541)
I had high load in my server, Can i get some benefit from this?


sadiq6210 07-01-2013 05:09 PM

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 :)

Nirjonadda 07-01-2013 05:15 PM

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


davidg 07-01-2013 05:17 PM

Did you read this thread before posting fxdigi-cash


All times are GMT. The time now is 10:58 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.01517 seconds
  • Memory Usage 1,742KB
  • 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_code_printable
  • (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
  • (10)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