Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

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
  #432  
Old 06-29-2010, 07:33 PM
RTMdotORG RTMdotORG is offline
 
Join Date: Dec 2008
Posts: 282
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This made my Manage Attachment button disappear....
Reply With Quote
  #433  
Old 07-13-2010, 11:27 PM
Juggernaut Juggernaut is offline
 
Join Date: Dec 2009
Location: California
Posts: 589
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this compatible with vBulletin 4.0.4?
Reply With Quote
  #434  
Old 10-28-2010, 10:41 AM
onesexforum onesexforum is offline
 
Join Date: Sep 2010
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is this compatible with the vBulletin 4.0.7 and 4.0.8??
Reply With Quote
  #435  
Old 12-05-2010, 06:24 PM
evo10 evo10 is offline
 
Join Date: Nov 2007
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed in VB 3.7.4, but the zip doesn't contain a .htaccess file, so my question is how does my forum know to run redir.php?

Thanks in advance.
Reply With Quote
  #436  
Old 01-20-2011, 02:31 PM
final kaoss final kaoss is offline
 
Join Date: Apr 2006
Posts: 1,314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the zip does indeed contain a .htaccess file. Also this mod works with vb 4.1.1


Here's the guts of the included .htaccess file

Code:
RewriteEngine On

####Charset
AddDefaultCharset Off 

####Gzip
<IfModule mod_rewrite.c>
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^(.*)(js|css)$ redir.php?file=$1$2&type=$2 [L]
</IfModule>

####ETags
FileETag None

####Expires
<IfModule mod_expires.c>
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
</IfModule>
Reply With Quote
  #437  
Old 01-21-2011, 03:07 AM
TeknoSounds TeknoSounds is offline
 
Join Date: Nov 2006
Location: TX
Posts: 435
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how long before this takes effect?
Have added into htaccess of my main root and forum root, but nothing seems to be happening Restarted apache, flushed my xcache, reran optimizations from vb supercharged....
Reply With Quote
  #438  
Old 07-01-2011, 10:04 AM
synseal's Avatar
synseal synseal is offline
 
Join Date: Apr 2009
Posts: 334
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

working with 4.1.4 :up:

Reply With Quote
  #439  
Old 07-01-2011, 10:14 AM
TeknoSounds TeknoSounds is offline
 
Join Date: Nov 2006
Location: TX
Posts: 435
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TeknoSounds View Post
how long before this takes effect?
Have added into htaccess of my main root and forum root, but nothing seems to be happening Restarted apache, flushed my xcache, reran optimizations from vb supercharged....
found out didn't have the setting turned on in apache to use the htaccess file. Turned on and it borked everything. Haven't gotten around to sifting out the errors yet though, been lazy
Reply With Quote
  #440  
Old 07-10-2011, 04:00 AM
CrystaStarLight CrystaStarLight is offline
 
Join Date: Sep 2006
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, this has sped up my forum greatly, however I'm getting tons of errors in my cpanel's error log, it's repeating every minute. I'll show the errors below. Is there anyway to fix these?

Code:
[Sat Jul 09 23:07:23 2011] [error] [client 24.2.245.152] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/****/public_html/forum/redir.php:14) in /home/****/public_html/forum/redir.php on line 37, referer: http://www.****.com/forum/forums/32-Caption-Me!/page8?order=desc

[Sat Jul 09 23:07:23 2011] [error] [client 24.2.245.152] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/****/public_html/forum/redir.php:14) in /home/****/public_html/forum/redir.php on line 37, referer: http://www.****.com/forum/forums/32-Caption-Me!/page8?order=desc

[Sat Jul 09 23:07:23 2011] [error] [client 24.2.245.152] PHP Warning:  implode() [<a href='function.implode'>function.implode</a>]: Invalid arguments passed in /home/****/public_html/forum/redir.php on line 34, referer: http://www.****.com/forum/forums/32-Caption-Me!/page8?order=desc

Edit: I've noticed my htacess file is a bit modified. It has the same code from Yslow, but with extra for other programs, and extra optimizations. Would any of this be conflicting to create those errors?
......................................

Code:
RewriteEngine on

# If you are having problems or are using VirtualDocumentRoot, uncomment this line and set it to your vBulletin directory.
# RewriteBase /forum/

RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d

RewriteRule ^.*$ - [NC,L]

# Forum
RewriteRule ^threads/.* showthread.php [QSA]
RewriteRule ^forums/.* forumdisplay.php [QSA]
RewriteRule ^members/.* member.php [QSA]
RewriteRule ^blogs/.* blog.php [QSA]
ReWriteRule ^entries/.* entry.php [QSA]

RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d

RewriteRule ^.*$ - [NC,L]

# MVC
RewriteRule ^(?:(.*?)(?:/|$))(.*|$)$ $1.php?r=$2 [QSA]

####Charset
AddDefaultCharset Off 

####Gzip
<IfModule mod_rewrite.c>
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php?do=/$1
RewriteRule ^(.*)(js|css)$ redir.php?file=$1$2&type=$2 [L]
# Image Access Protection
# RewriteRule ^file/pic/photo/(.*)\.(.*)$ static/image.php?file=$1&ext=$2
</IfModule>

####ETags
FileETag None

<ifModule mod_expires.c>
  ExpiresActive On
  ExpiresDefault "access plus 1 seconds"
  ExpiresByType text/html "access plus 1 seconds"
  ExpiresByType text/javascript "access plus 216000 seconds"
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
</ifModule>

<ifModule mod_headers.c>
  <filesMatch "\\.(ico|pdf|flv|jpg|jpeg|png|gif|swf)$">
    Header set Cache-Control "max-age=259200, public"
  </filesMatch>
  <filesMatch "\\.(css)$">
    Header set Cache-Control "max-age=604800, public"
  </filesMatch>
  <filesMatch "\\.(js)$">
    Header set Cache-Control "max-age=21600, private"
  </filesMatch>
  <filesMatch "\\.(xml|txt)$">
    Header set Cache-Control "max-age=21600, public, must-revalidate"
  </filesMatch>
  <filesMatch "\\.(html|htm|php)$">
    Header set Cache-Control "max-age=1, private, must-revalidate"
  </filesMatch>
</ifModule>

<ifModule mod_headers.c>
  Header unset ETag
</ifModule>

<ifModule mod_headers.c>
  Header unset Last-Modified
</ifModule>

<IfModule mod_security.c>
   SecFilterEngine Off
   SecFilterScanPOST Off
</IfModule>

php_value memory_limit "64M"
php_value upload_max_filesize 3M
Thank you!
Reply With Quote
  #441  
Old 07-26-2011, 02:47 AM
benstillman benstillman is offline
 
Join Date: Jun 2007
Location: Ohio
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nevermind.
Reply With Quote
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 06:27 PM.


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.05047 seconds
  • Memory Usage 2,324KB
  • 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
  • (3)bbcode_code
  • (1)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
  • (3)pagenav_pagelink
  • (1)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