Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
YSLOW 1.0.3 (Make Your Forum Faster) Details »»
YSLOW 1.0.3 (Make Your Forum Faster)
Version: 1.0.3, by Jack0919 Jack0919 is offline
Developer Last Online: Jun 2011 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.7.0 Rating:
Released: 05-05-2008 Last Update: 05-15-2008 Installs: 706
Additional Files Translations  
No support by the author.

Info
==============================

This mod can make your vbulletin seem faster.

It works only with apache. It works with VB 3.5.X, VB 3.6.x, VB 3.7.x ...


How it works: http://developer.yahoo.com/yslow/




Update
==============================
1.0.1 First release.
1.0.2 Correct the problem of the Charset.
1.0.2 fix the bug [s]that's not work with vbseo.[/s]
1.0.2 fix the bug [s]by forum on the different directory[/s].
1.0.3 A very important update for safe.
1.0.3 fix the bug [s]that YSLOW do PHP source reads.[/s]
1.0.3 【Thanks very much to bahisyeri
1.0.3 Adjustment server load and speed to an acceptable set .



INSTALLED
==============================

If you have any piont please leave your replay, and it will be helpful.

IF YOU LIKE IT , PLEASE MARK AS INSTALLED


What does it do?
==============================

Add an Expires header


Adding an Expires header to your components with a date in the future makes them cacheable, reducing the load time of your pages. Certainly this should be done with images, but that's fairly typical. Go a step further and add it to scripts and stylesheets, too. This won't affect performance the first time users hit your page, but on subsequent page views it could reduce response times by 50% or more.

Gzip componentes

Gzipping all the js and css files types to reduce page weight. The greatest advantage is compressed to reduce the amount of data transmission network, thereby improving the client browser access speed. Of course, but also increase the burden on the server a little bit. Gzip is a more common form of HTTP compression algorithm.

Configure ETags

1. Client requests a page (A).
2. The server Back to A, and A to add a ETag.
3. Client display the page, and pages together with the ETag cache.
4. Customers once again request pages A, and the last request to the server to return to the ETag transmitted to the server.
5. Server checks the ETag, and to determine the page since the last client request has not been modified, to return to direct response to a 304 (Not Modified) and a response of the air.
So. ETag is a Tag to your components to see if they has been modified. If not here will be no request happened. Configure it is a good way.

Easy Install
==============================

1. Upload all the content to your forum directory.
2. There is no step two. It's done.

UNinstall
==============================

1. Remove all.
2. Done.

If
==============================

If the mod does not work,open and edit httpd.conf like this:
find:
#LoadModule rewrite_module modules/mod_rewrite.so
remove # as:
LoadModule rewrite_module modules/mod_rewrite.so
save, and restart apache, then it's should be OK.
-------------------------------------------------
IF there has a .htaccess File in your forum root directory yet, Do not cover it, open the .htaccess in the zip,copy all the code,add below your own .htaccess.
-------------------------------------------------

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #212  
Old 05-28-2008, 11:09 PM
tokenyank tokenyank is offline
 
Join Date: Jul 2005
Location: London
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reported???

For forcing enduser cache? Something that enduser browsers should do as default? (well, FF and Opera does... But we can't expect IE to work properly... It is Microsoft after all!)

Using a hack that clearly says:
Quote:
Add an Expires header

Adding an Expires header to your components with a date in the future makes them cacheable, reducing the load time of your pages.
Seems as though someone didn't read what this did before installing the modification!!! *tsk tsk*

As to not updating new posts, this hack does nothing to cache dynamic content of your site it only caches images/swf/css etc
Code:
ExpiresActive On
ExpiresByType image/gif A2592000
ExpiresByType image/jpeg A2592000
ExpiresByType image/png A2592000
ExpiresByType application/x-shockwave-flash A2592000
ExpiresByType text/css A2592000
ExpiresByType application/x-javascript A2592000
Nothing in there about cacheing php (or if you are running some SEO mods, html)... And, if you're overly sensitive... If you turn the board off, when you re-enable it, also turn on "no cache" headers in your vb options for a day to force users' browsers to update upon return...

The warning isn't necessary, reporting it shows your nativity, and any of your problems can be solved or are simply imagined.
Reply With Quote
  #213  
Old 05-28-2008, 11:39 PM
mariocaz mariocaz is offline
 
Join Date: Feb 2008
Location: Mexico, D.F.
Posts: 424
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nothing4me are you very sure of that ??
Reply With Quote
  #214  
Old 05-28-2008, 11:40 PM
nothing4me nothing4me is offline
 
Join Date: Oct 2007
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tokenyank View Post
Reported???

For forcing enduser cache? Something that enduser browsers should do as default? (well, FF and Opera does... But we can't expect IE to work properly... It is Microsoft after all!)

Using a hack that clearly says:


Seems as though someone didn't read what this did before installing the modification!!! *tsk tsk*

As to not updating new posts, this hack does nothing to cache dynamic content of your site it only caches images/swf/css etc
Code:
ExpiresActive On
ExpiresByType image/gif A2592000
ExpiresByType image/jpeg A2592000
ExpiresByType image/png A2592000
ExpiresByType application/x-shockwave-flash A2592000
ExpiresByType text/css A2592000
ExpiresByType application/x-javascript A2592000
Nothing in there about cacheing php (or if you are running some SEO mods, html)... And, if you're overly sensitive... If you turn the board off, when you re-enable it, also turn on "no cache" headers in your vb options for a day to force users' browsers to update upon return...

The warning isn't necessary, reporting it shows your nativity, and any of your problems can be solved or are simply imagined.
Try doing it yourself. The problem persists with IE and FF. One of the settings in this mod is causing the browser to cache the whole thing instead of what it was really supposed to cache. Edit: (I'm guessing the PHP file has something to do with it?)

And I know browsers cache webpages, but they keep it for a short amount of time. This mod increases that time too much. (Look at my 1st paragraph)
Reply With Quote
  #215  
Old 05-28-2008, 11:41 PM
nothing4me nothing4me is offline
 
Join Date: Oct 2007
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mariocaz View Post
nothing4me aere you very sure of that ??
Yes. I am positive. I have gotten complaints from my users (over 30 complained) after I told them that the site was back up. I was constantly getting "Forum is off" messages at the top of VBulletin too on random pages.

We were talking on MSN etc, so that's how I know. After I removed the mod + asked them to clear their cache, it worked for them and me. (Both FF and IE.)

If you guys don't believe me, just try it yourself.
Reply With Quote
  #216  
Old 05-29-2008, 12:32 AM
mariocaz mariocaz is offline
 
Join Date: Feb 2008
Location: Mexico, D.F.
Posts: 424
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mmm very bad news because the mod is working very nice in my forum.

I hope the author come here to help us with this.
Reply With Quote
  #217  
Old 05-29-2008, 12:49 AM
nothing4me nothing4me is offline
 
Join Date: Oct 2007
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mariocaz View Post
Mmm very bad news because the mod is working very nice in my forum.

I hope the author come here to help us with this.
I PM'd him, so I guess we'll wait for a reply. This is a nice mod, just needs some fixing.
Reply With Quote
  #218  
Old 05-29-2008, 06:37 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
This hack is reported.
We do not take any action for a modification that does as described: Cache items locally.
Reply With Quote
  #219  
Old 05-29-2008, 07:27 AM
tokenyank tokenyank is offline
 
Join Date: Jul 2005
Location: London
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nothing4me View Post
Try doing it yourself.
I have, been using it since I posted my results images... Absolutely no problems and significantly lower page load times in IE (firefox always cached properly, IE7 played silly buggers)
Quote:
Originally Posted by nothing4me View Post
Edit: (I'm guessing the PHP file has something to do with it?)
php file only pipes css and js through a gzip routine to compress them.
Code:
switch ($_REQUEST['type']){
  case 'css':
    header("Content-type: text/css");
    break;
  case 'js' :
    header("Content-type: text/javascript");
      break;
  default:
    header("Content-type: text/plain");
}
Again, nothing to do with html or php.

This mod is safe to use and does exactly what it says it does on the tin. If you don't like the time limits lower them.

Change the value (2592000) in .htaccess to something else like:

Code:
#      300   5 MIN
#      600  10 MIN
#      900  15 MIN
#     1800  30 MIN
#     2700  45 MIN
#     3600   1 HR
#     7200   2 HR
#    10800   3 HR
#    14400   4 HR
#    18000   5 HR
#    36000  10 HR
#    39600  11 HR
#    43200  12 HR
#    46800  13 HR
#    50400  14 HR
#    54000  15 HR
#    86400   1 DAY
#   172800   2 DAY
#   259200   3 DAY
#   345600   4 DAY
#   432000   5 DAY
#   518400   6 DAY
#   604800   1 WEEK
#  1209600   2 WEEK
#  1814400   3 WEEK
#  2419200   4 WEEK
#  4838400   2 MONTH
#  7257600   3 MONTH
#  9676800   4 MONTH
# 12096000   5 MONTH
# 14515200   6 MONTH
# 16934400   7 MONTH
# 19353600   8 MONTH
# 21772800   9 MONTH
# 24192000  10 MONTH
# 26611200  11 MONTH
# 29030400  12 MONTH
Reply With Quote
  #220  
Old 05-29-2008, 07:46 AM
buileminh buileminh is offline
 
Join Date: Jan 2005
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Work like a charm with my forums! Great! Installed!
Reply With Quote
  #221  
Old 05-29-2008, 12:44 PM
abrecher abrecher is offline
 
Join Date: Jan 2004
Posts: 205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works exactly as described on 3.7.1
Reply With Quote
Reply

Thread Tools

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 04:31 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.09509 seconds
  • Memory Usage 2,321KB
  • Queries Executed 25 (?)
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
  • (4)bbcode_code
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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