The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
YSLOW 1.0.3 (Make Your Forum Faster) Details »» | |||||||||||||||||||||||||
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
|
Comments |
#432
|
|||
|
|||
This made my Manage Attachment button disappear....
|
#433
|
|||
|
|||
Is this compatible with vBulletin 4.0.4?
|
#434
|
|||
|
|||
is this compatible with the vBulletin 4.0.7 and 4.0.8??
|
#435
|
|||
|
|||
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. |
#436
|
|||
|
|||
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> |
#437
|
|||
|
|||
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.... |
#438
|
||||
|
||||
working with 4.1.4 :up:
|
#439
|
|||
|
|||
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
|
#440
|
|||
|
|||
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 |
#441
|
|||
|
|||
Nevermind.
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|