View Full Version : Add-On Releases - YSLOW 1.0.3 (Make Your Forum Faster)
maxicep
06-02-2008, 09:24 PM
Just one info for those who upgrade VBSEO to RC7. In .htaccess file you have to modify one line:
####Gzip
<IfModule mod_rewrite.c>
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.*)(js|css|jpg|gif)$ redir.php?file=$1$2&type=$2 [L]
</IfModule>
Just add the code line in red or your images and chats wont work right. At least for me that have static contents (images) in a second server.
and it works now
thanks for this tip :D
pedroenf
06-03-2008, 10:05 AM
and it works now
thanks for this tip :D
You're welcome! :D
Bonus Paradise
06-03-2008, 03:18 PM
seems to work fine
now I would have some questions
I have already a htaccess on main page
http://www.bonusparadise.com/
and now this one here in my forum root
http://www.bonusparadise.com/forum
will there be no problems having more htaccess files on the same domain?
Would this work also for my main page
or can i just add all this in my main page htacess and i dont need another one then in forum root?
And one last question
how can i redirect my http://www.bonusparadise.com/forum/index.php
to http://www.bonusparadise.com/forum/
I have this done for my main
but for the forum i just cant manage it somehow.
Any help and info is much appreciated
thanks in advance
Marina
abrecher
06-04-2008, 02:44 AM
Does it matter if I have "Add No-Cache HTTP Headers" selected ON or OFF if I'm using this plugin ?
bahisyeri
06-04-2008, 02:58 AM
Does it matter if I have "Add No-Cache HTTP Headers" selected ON or OFF if I'm using this plugin ?
Nooo enabling that option will make your dynamic content sent with no-cache and it will read from users browser so if you make your forums turn off and some users come and see it after u open ur forum they can see it still under maintance.
abrecher
06-04-2008, 03:19 AM
Nooo enabling that option will make your dynamic content sent with no-cache and it will read from users browser so if you make your forums turn off and some users come and see it after u open ur forum they can see it still under maintance.
So "Add No-Cache HTTP Headers" should be set to NO ?
bahisyeri
06-04-2008, 12:27 PM
So "Add No-Cache HTTP Headers" should be set to NO ?
Yes you are correct
Magnumutz
06-04-2008, 07:11 PM
With vBSEO 3.2.0 RC7, this disables all the AJAX/Javascripts... help?
I've seen some fixes in the upper posts, but i'm not sure if they work for my problem.
Chadi
06-05-2008, 12:53 AM
You need to install YSLOW extension to your firefox and it needs Firebug extension.
These two are not compatible with my Firefox 3 RC1 version unfortunately. Anyone willing to do my work on my behalf and show me the results (screenshots)? :D
I uploaded both htaccess and redir files and I'm using VBSEO RC5 at this time. I would like to get some results, remove the yslow modifications and then get the results without the modifications.
Thanks to whomever may help on this.
taxick
06-05-2008, 12:49 PM
Info:
This hack will not work with vBSEO 3.2.0 RC7!
When this hack and vbseo is installed on you forum, the WYSIWYG editor will not work :(
Me be the Problem is ind the .htaccess
EDIT: PROBLEM FIXET
I added "RewriteCond %{REQUEST_FILENAME} -d" to the .htaccess
thx to pedroenf (https://vborg.vbsupport.ru/member.php?u=147451)
pedroenf
06-05-2008, 12:59 PM
Info:
This hack will not work with vBSEO 3.2.0 RC7!
When this hack and vbseo is installed on you forum, the WYSIWYG editor will not work :(
Me be the Problem is ind the .htaccess
Could you explain better please? Have you tried out the solution i posted in this thread?
taxick
06-05-2008, 02:04 PM
Could you explain better please? Have you tried out the solution i posted in this thread?
Sorry - My bad!!
I have not read you post. :o
I added "RewriteCond %{REQUEST_FILENAME} -d" to the .htaccess
Now its work.. Thx for you help. :up:
Installed agian :D
maxicep
06-05-2008, 02:08 PM
Info:
This hack will not work with vBSEO 3.2.0 RC7!
When this hack and vbseo is installed on you forum, the WYSIWYG editor will not work :(
Me be the Problem is ind the .htaccess
i have no problem on vbseo 3.2 rc7 and vbb 3.7.1
tekguru
06-05-2008, 06:04 PM
Working perfectly for me with vBSEO and vB 3.7.1 - actually reduced server load!
PGAmerica
06-05-2008, 06:46 PM
The moment I upload the .htacess file into my forum root, my site gets all funky. The drop-down menus in vbulletin no longer work and my shoutbox stops working.
sross
06-07-2008, 09:55 PM
So "Add No-Cache HTTP Headers" should be set to NO ?
I'm pretty confused about this. In vbulletin settings it states:
Selecting yes will cause vBulletin to add no-cache HTTP headers. These are very effective, so adding them may cause server load to increase due to an increase in page requests.
vbulletin recommends this but if you are saying i will have better performance i guess i will disable it and give it a go.
Also, this is weird.. i am running vbseo fine yet see no .htaccess in my forum root, i thought vbseo has an .htaccess in the forum root? I made a fake .htaccess2 file and can see it. Will check vbseo site
*nevermind, found it in plesk filemanager
losedude
06-08-2008, 06:47 AM
Seems to work great.
Mesohu
06-08-2008, 08:02 AM
How I can see or test it by any site ?
Before & After installing it ?
PGAmerica
06-08-2008, 03:09 PM
The moment I upload the .htacess file into my forum root, my site gets all funky. The drop-down menus in vbulletin no longer work and my shoutbox stops working.
Is there any answer to my problem?
pedroenf
06-08-2008, 03:20 PM
Is there any answer to my problem?
If you have done a little search arround you would find my post :D : https://vborg.vbsupport.ru/showpost.php?p=1537882&postcount=240
xXEsEtUlOnXx
06-08-2008, 04:13 PM
thanks works perfectly, marked as installed
PGAmerica
06-08-2008, 05:12 PM
If you have done a little search arround you would find my post :D : https://vborg.vbsupport.ru/showpost.php?p=1537882&postcount=240
Just one info for those who upgrade VBSEO to RC7. In .htaccess file you have to modify one line:
I saw that, but I am not runner VBSEO
pedroenf
06-09-2008, 02:20 AM
Well in that case i'm sorry for the misunderstanding.
PGAmerica
06-09-2008, 02:08 PM
Well, I am still having the same problem tho.
bartek24m
06-11-2008, 07:55 PM
after installthis mod my shoutbox doesnt work correctly
when users try to type polish singhts (marks) like 'śżąźłć' they optain question marks - '?????' :(
how can i solve this problem ?
Thanks for help
PGAmerica
06-11-2008, 08:11 PM
That is one of the symptoms I am having too. They don't seem to want to answer these questions tho
Deimos
06-11-2008, 09:25 PM
Ended up removing it.
Had a few problems, with the BBCode toolbar and when people went to edit their posts
Using the "Img" button in the toolbar didn't work and even using the [*img] bbcode, didn't work either (turned the url/bbcode into gibberish)
Using the Edit button on a post and all characters such as £, $ and others, turned into hashes and weird symbols.
Deimos
06-11-2008, 09:38 PM
Think I spoke to soon, I forgot about the UTF8 option in the VBSEO file, hehe.
iogames
06-11-2008, 10:31 PM
so isn't bug free?
Deimos
06-11-2008, 11:27 PM
Is anything Bug free? heh
I can't get it to work right, some drop down menus stop working when it's installed, so had to remove it.
NoCo7
06-13-2008, 04:02 AM
Running VB 3.7.1 , Loads of plugins (not VBSEO though) and don't seem to have any problems here so far... Checked the few issues people were reporting above and all seems to be well for me so far.
Proof is in the pudding in regards to how it works, all I can say is wow, and thanks :)
it works fine with 3.7.1, i can feel the difference after install. :)
thanks! hope you will improve this mod further.
sross
06-13-2008, 11:03 AM
Have vbseo latest and 3.7.1 error console went nuts when i installed this:
vbulletin is not defined
vbmenu_register x10 not defined
fetch object
ajax_compatible
vb_editor
vbulletin_init
etc ect
did you change all the needfuls? like activate rewrite module and update .htaccess? coz u r using vbseo.
Pottsy
06-13-2008, 08:55 PM
This mod stopped any access to my vbseo sitemap at ../forum/sitemap_index.xml.gz so had to remove it.
touba
06-14-2008, 10:14 AM
hi,
i just upload redir.php on my forum directory and it's work fine.
i use vbSEO too and i didn't edit the .htaccess file... is it normal ? (lol)
thx
touba
06-14-2008, 06:09 PM
it seems faster... it was faster so not easy to compare... but i think yes...
sross
06-15-2008, 01:34 AM
did you change all the needfuls? like activate rewrite module and update .htaccess? coz u r using vbseo.
Not sure what you mean by needfuls, but I added the code in your htaccess to the end of my vbseo htaccess file
Audentio
06-15-2008, 04:29 AM
I uploaded the two files, but is there anyway I can test this to see if its faster?
needaltuna
06-15-2008, 04:45 AM
Thank you.
tanujdude91
06-15-2008, 05:11 AM
Very Nice Hack...Made by forum faster....I'm using vbseo too :)
dharam kundra
06-15-2008, 09:17 AM
hey guys i have uploaded the redir.php but not the htaccess beacuse my hosting does not support ht access!
1)is it compulsoary tht both should be uploaded
2)hw to know tht this hack is working
3)if htaccess has to be put then where beacuse when i uploaded it i had internal server error 500 my Apache/1.3.29 (Unix) was not working plz tell guys asap!
dharam kundra
06-16-2008, 06:43 AM
hey guys plz reply back fast waiting plz do quick!
emtee
06-16-2008, 07:10 AM
1) Both files have to be uploaded. If your host doesn't support uploading .htaccess then this mod is NOT for you. Period.
2) This hack is working. You can see the difference when the forum loads (before & after). But you have to uninstall it when turning off the board for modification, backup, etc...
3) File .htaccess needs to be upload in your forum dir (same level as index.php, infraction.php, newthread.php, newreply.php etc...)
bahisyeri
06-17-2008, 12:25 AM
I'm pretty confused about this. In vbulletin settings it states:
vbulletin recommends this but if you are saying i will have better performance i guess i will disable it and give it a go.
Also, this is weird.. i am running vbseo fine yet see no .htaccess in my forum root, i thought vbseo has an .htaccess in the forum root? I made a fake .htaccess2 file and can see it. Will check vbseo site
*nevermind, found it in plesk filemanager
Yes you can get better performance but your forum pages will not updated for your users.
Who is getting typing problems or anything else like this check your .htaccess files and be sure you did not do something faulty and if your shoutbox or anything uses javascript check its code and be sure it does not have something faulty, this mod just uses default zlib extension of php and uses it for compressing and one person faced problem with sitemap be sure for .htaccess code and check for sitemap lines on it.
msalman
06-17-2008, 03:29 AM
In Firefox/Mozilla, it seems when you hit the refresh button, the images and javascript files do not load up. Is there a way to get around it?
Sakai Ray
06-17-2008, 04:43 PM
Thanks and clicked =]
pedroenf
06-17-2008, 06:30 PM
In Firefox/Mozilla, it seems when you hit the refresh button, the images and javascript files do not load up. Is there a way to get around it?
If you're running VBSEO try this: https://vborg.vbsupport.ru/showpost.php?p=1537882&postcount=240
MOGmartin
06-18-2008, 09:17 AM
Using this hack will save me (everyone will be different depending on how big the forum is) almost 2mb of bandwidth per 10 impressions (roughly, it's late, I can't be arsed to do the maths! ;) ) so on a site like mine that does over 4 million impressions a month, my bandwidth consumption will be considerably lower as well as my users not being forced to download 1/5th of a meg every time they visit the site.
Just to reinforce the previous post, I have this MOD installed on a board with 1,400 to 2,000 daily active users, I have 30 other mods installed and my forums are NOT heavy on graphics, just the main logo and the VERY occasional image (and a few banner adverts mind you).
My speed has increased dramatically - If I had to numerate it I would say by at least 50%, and my bandwidth usage has dropped by a similar amount.
As I use between 50gb and 80gb per month of data, thats a HUGE saving.
I am nominating this for MOTM immediately, this is the number one best mod I have installed!!!
MOGmartin
msalman
06-18-2008, 07:43 PM
If you're running VBSEO try this: https://vborg.vbsupport.ru/showpost.php?p=1537882&postcount=240
Thank you for the help but there is problem with using it, it does not gzip the jscripts anymore.
dutchbb
06-19-2008, 09:26 AM
I do not notice any difference, uninstalled.
BozzaJos
06-23-2008, 07:26 AM
Dear Jack,
I can say that I definitely notice difference. Great job!
I do however have an issue with the add-on. After I uploaded the file redir.php and editted my existing htaccess (got vBSEO installed), I can access the admincp but when I want to expand a menu option like vBulletin Options, it just refreshes the page but the box isn't expanded. When I remove the htaccess code and delete the file, the admincp works perfectly.
Do you know how to fix this problem? I have a big forum (lots of members and mods installed) and this mod just works amazingly well.
I hope you can help me (or someone else).
Thanks in advance.
Take care,
Bozza
TheInsaneManiac
06-23-2008, 03:03 PM
install-->shoubox 2.1 not load, it's keep loading..........................
uninstall shoubox 2.1 is working fine
Still curious on this, only thing that is keeping me from installing.
soundbarrierpro
06-23-2008, 03:07 PM
This hack doesn't allow several mods to function. Better beta test on test server first.
is this working whit nuseo ?
MaXeL3G3ND
06-26-2008, 01:53 PM
Didn't work as intended on my site, and i don't have anything special installed. :)
(just plain vBulletin, so it's probably the .htaccess file you made i guess)
saotome
06-28-2008, 10:04 AM
run smooth, forum better and fast access too nice mods, thanks installed
thedark1
06-29-2008, 09:14 PM
I have APC installed, does this work with it? will it make any difference to the speed?
abrecher
06-30-2008, 04:33 AM
I have APC installed, does this work with it? will it make any difference to the speed?
I'm using it together with APC without any issues.
mA|tRiX
07-02-2008, 10:21 AM
Very great. works very fine. :)
Mr.samy
07-03-2008, 10:37 PM
very nice mod ... installed
GrendelKhan{TSU
07-04-2008, 12:28 AM
awesome....
for those that want background on this...
http://www.youtube.com/watch?v=BTHvs3V8DBA
Q-v-n-s-Q
07-04-2008, 04:07 AM
when i uninstalled the member profile seem a bit buggy... :(
redlabour
07-05-2008, 09:57 AM
Any YSLOW Update for vBSEO 3.2 GOLD?
Clicked uninstall so far ..... because it brokes all AJAX Functions.
gwerzal
07-05-2008, 05:47 PM
My forums going a lot faster. Cheers man.
pedroenf
07-05-2008, 05:54 PM
Any YSLOW Update for vBSEO 3.2 GOLD?
Clicked uninstall so far ..... because it brokes all AJAX Functions.
That is not true. At least for VB 3.7.0. I have yslow working great with VBSEO 3.2 Gold.
redlabour
07-05-2008, 10:18 PM
That is not true. At least for VB 3.7.0. I have yslow working great with VBSEO 3.2 Gold.
Then you must be the lucky only Guy in the World where it is working. :rolleyes:
YSLOW 1.0.3 is not compatibel with vBSEO 3.2 (http://www.vbseo.com/f5/vbseo-3-2-0-gold-released-24675/index3.html#post153869)
christian8a
07-05-2008, 11:10 PM
tested it and seems to help a bit.
Now how do we uninstall it if the .htaccess file dissapears?
the only file I see is the other one redir.php , but the other one is gone :confused:
iogames
07-05-2008, 11:47 PM
Then you must be the lucky only Guy in the World where it is working. :rolleyes:
YSLOW 1.0.3 is not compatibel with vBSEO 3.2 (http://www.vbseo.com/f5/vbseo-3-2-0-gold-released-24675/index3.html#post153869)
Ok so we still can copy the code on the forum's root .htaccess?
neopet001
07-06-2008, 08:43 AM
Sorry but I can't follow the whole topic. I searched for tfSEO and SEO but it returns no result...
Just a quick question, I'm using tfSEO as a SEO tool that rewrites url for forums, threads and posts.
So i just need to add all of your .htaccess content BELOW the ones that tfSEO used? Does it crash or mess up?
Thank you in advanced!
pedroenf
07-06-2008, 08:59 AM
Then you must be the lucky only Guy in the World where it is working. :rolleyes:
YSLOW 1.0.3 is not compatibel with vBSEO 3.2 (http://www.vbseo.com/f5/vbseo-3-2-0-gold-released-24675/index3.html#post153869)
Well if you say i'm lucky...
In the world?! Aren't you exagerating? In that thread only 2 or 3 persons complaints about that. Still, i have it all functioning in my forum. All ajax functions are ok. If you care to take a look at it: www.g6-team.com.
redlabour
07-06-2008, 09:11 AM
Ok so we still can copy the code on the forum's root .htaccess?
Try for yourself - on some Configurations with vBSEO 3.2 it can work - on the most not.
Does it crash or mess up?
Try it - if it breakes up something just delete the Code from .htaccess.
Still, i have it all functioning in my forum. All ajax functions are ok.
1. Which configuration did you use in vBSEO 3.2? In my Case i use the one from vbulletin-setup.com.
2. Did you Update your .htaccess to the new .htaccess or did you use the old one?
3. Check my Rewrite Settings.
Anyway - something at your vBSEO Installation or Rewriting is not on Default.
In that thread only 2 or 3 persons complaints about that.
Any only 500 vb.org Users have installed YSLOW Hack. How many of them own vBSEO?
vBSEO has thousands Customers.
Any Questions?
pedroenf
07-06-2008, 09:41 AM
1. Which configuration did you use in vBSEO 3.2? In my Case i use the one from vbulletin-setup.com.
My own of course! Do you want my xml configuration file?
2. Did you Update your .htaccess to the new .htaccess or did you use the old one?
Updated of course! Want to see it?
3. Anyway - something at your vBSEO Installation or Rewriting is not on Default.
Of course not. Who does sticks with default?
Any only 500 vb.org Users have installed YSLOW Hack. How many of them own vBSEO?
vBSEO has thousands Customers.
Any Questions?
So in this 500 YSLOW users only 2 or 3 have YSLOW + VBSEO? Weird!!:confused:
Questions?! Lol. I'm the one that have it working...:D
redlabour
07-06-2008, 11:09 AM
Questions?! Lol. I'm the one that have it working...:D
If you have anything constructive to tell us do it:
http://www.vbseo.com/f10/request-integrate-support-yslow-vbseo-24724-new/
:rolleyes:
tekguru
07-06-2008, 11:09 AM
Interesting to see how you got it working here too. I've 2 x .htaccess files one in the server root and one in /forums/ the later is used with vBSEO.
I did have YSLOW in the former outside of the main /forums/ directory, and I'm wondering if it is okay to add it in there as it is then sperate to vBSEO and it may then work?
Does your working system match this setup at all?
christian8a
07-06-2008, 11:45 AM
When everything is fine on your site, everything should work.
this yslow product works nice :)
pedroenf
07-06-2008, 01:44 PM
If you have anything constructive to tell us do it:
http://www.vbseo.com/f10/request-integrate-support-yslow-vbseo-24724-new/
:rolleyes:
Hey! Take it easy ok? You are the coder here not me! You're the one that shoul be able to figure it out, i'm don't understand a bit of coding! But hey, if you want i can gently provide you my .htaccess file and my vbseo setings. No prob.
redlabour
07-06-2008, 04:55 PM
Hey! Take it easy ok? You are the coder here not me! You're the one that shoul be able to figure it out, i'm don't understand a bit of coding! But hey, if you want i can gently provide you my .htaccess file and my vbseo setings. No prob.
???
I am no Coder.
Your writting at the wrong place - we need your Information there: http://www.vbseo.com/f10/request-integrate-support-yslow-vbseo-24724/#post154302
I did have YSLOW in the former outside of the main /forums/ directory, and I'm wondering if it is okay to add it in there as it is then sperate to vBSEO and it may then work?
This makes no sense for YSLOW 1.0.3 - you have only optimized your / then.
pedroenf
07-06-2008, 05:43 PM
???
I am no Coder.
Your writting at the wrong place - we need your Information there: http://www.vbseo.com/f10/request-integrate-support-yslow-vbseo-24724/#post154302
I do not know if you are a coder or not. I just see what is written bellow your nick name here!
About my .htaccess and vbseo settings, if you sink thei could provide some important information about this issue i can post it in VBSEO forum. But i can tell you that i just did the changes told by instalation config files!
redlabour
07-06-2008, 06:15 PM
I do not know if you are a coder or not. I just see what is written bellow your nick name here!
About my .htaccess and vbseo settings, if you sink thei could provide some important information about this issue i can post it in VBSEO forum.
But i can tell you that i just did the changes told by instalation config files!
1. Please be kind and do so. :) The Link for the correct Thread is posted above.
2. So please dont forget to post PHP - mySWL Version and everything else that can be interesting (ZEND? IonCube?......?)
redlabour
07-06-2008, 10:07 PM
UPDATE Solution for vBSEO 3.2 GOLD:
Try to modify your .htaccess file:
FIND:RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron)
REPLACE WITH:
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|redir\.php)(i.e. add redir.php to the exclusion list)
PROBLEM SOLVED!!!!
http://www.vbseo.com/f10/request-integrate-support-yslow-vbseo-24724/index2.html#post154368
pedroenf
07-06-2008, 10:36 PM
I'm glad that the probem has been solved before my (who knows) contribute. :) I'll add that change and see if it has some interference in my forum.
Anyway my .htaccess file:
# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On
# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
RewriteBase /
RewriteCond %{HTTP_HOST} !^www\.g6-team\.com
RewriteRule (.*) http://www.g6-team.com/$1 [L,R=301]
RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron)
RewriteRule ^((archive/)?(.*\.php(/.*)?)?)$ vbseo.php [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php [L,QSA]
RewriteEngine On
####Charset
AddDefaultCharset Off
####Gzip
<IfModule mod_rewrite.c>
RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
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>
redlabour
07-07-2008, 12:17 AM
I'm glad that the probem has been solved before my (who knows) contribute. :) I'll add that change and see if it has some interference in my forum.
Anyway my .htaccess file:
http://www.vbseo.com/f10/request-integrate-support-yslow-vbseo-24724/index2.html#post154406 ;)
hendri
07-07-2008, 09:05 AM
cannot access the thread after install and reinstall the files. i have vbseo installed.
error :
Not Found
The requested URL /forum/f2/ was not found on this server.
Apache Server at www.indodragon.com Port 80
any help ?
hendri
07-07-2008, 09:14 AM
ok sorry, after i recopy the .htaccess from vbseo everyting is fine.
FiMeTi
07-07-2008, 03:11 PM
Great deal. Works fine for me. I can really notice the fast loadings.
Thx br0! :D
Ketro
07-08-2008, 09:18 PM
Works like a charm, even with the other speed increase modification with the "fajax." Good work.
tekguru
07-08-2008, 10:18 PM
Other speed up fix? fajax? Tell me more....
star88
07-08-2008, 11:47 PM
great job, thanks very much
*marked as installed*
Mrdby
07-09-2008, 02:20 AM
so i added it to my forum root and really can't tell a difference.
sadiq6210
07-09-2008, 09:00 AM
Thanks
madmax1228
07-09-2008, 12:08 PM
installed
mrahul
07-10-2008, 07:16 AM
so does it create any excess load on apache or server or just it needs apache based servers ?
ThorstenA
07-10-2008, 12:24 PM
Installed (vbulletin 3.7.2 + vbseo) but had problems with Javascript. Forum search was not available.
redlabour
07-10-2008, 12:49 PM
Installed (vbulletin 3.7.2 + vbseo) but had problems with Javascript. Forum search was not available.
Fixed: http://www.vbseo.com/f10/request-integrate-support-yslow-vbseo-24724/index2.html#post154406
iogames
07-10-2008, 11:30 PM
Fixed: http://www.vbseo.com/f10/request-integrate-support-yslow-vbseo-24724/index2.html#post154406
Can you post the solution here?
redlabour
07-11-2008, 04:04 AM
Can you post the solution here?
Sorry - no! Everyone who has a vBSEO Licencse should go to vBSEO.com if he has Problems with Hacks through vBSEO. That is the way how People should learn this.
pedroenf
07-11-2008, 04:55 PM
Can you post the solution here?
He just did. Here: https://vborg.vbsupport.ru/showpost.php?p=1568497&postcount=332
Jack0919
07-12-2008, 07:49 PM
so, this mod still have many problem ?
I hope it works good, so i can spend my time to a style, Demo:sikua.com (http://bbs.sikua.com/) and i want to post it in here soon.
redlabour
07-13-2008, 05:34 AM
so, this mod still have many problem ?
I hope it works good, so i can spend my time to a style, Demo:sikua.com (http://bbs.sikua.com/) and i want to post it in here soon.
This is not really a vBulletin Mod. And it works without any Problems.
mrahul
07-14-2008, 09:03 AM
what are the Etags and from where can I configure them from ? never used it before :o
squishi
07-19-2008, 07:50 PM
what are the Etags and from where can I configure them from ? never used it before :o
Never heard of them either, but you can find info on those tags on wikipedia:
http://en.wikipedia.org/wiki/HTTP_ETag
maidos
07-19-2008, 10:21 PM
Could you make this mod for mod_deflate?
I dont have vb internal gzip because it only works on vb pages and i have other non vb site hosted on my server
ahmedeldeep
07-20-2008, 03:19 AM
this mod makes a problems with memberinfo
this does not show the tabs in the profile
mrahul
07-21-2008, 08:05 AM
Never heard of them either, but you can find info on those tags on wikipedia:
http://en.wikipedia.org/wiki/HTTP_ETag
it actually gives the meaning of it but where can we find it on the server or the forum??
s810car
07-27-2008, 04:23 AM
Works great! :D I got the Yslow add-on for firebug when it came out for firefox 3 and saw I needed to do these things and had no idea how to, this jumped my performance rating 20 points! Now all I need to do is get off my lazy behind and fix my javascript and other code so its not redundant, and reduce my external http requests, easy stuff at least. One question though, is there any way to improve performance on external ads (specifically banners), since I can't put a no-expires or gzip them? I'll probably just have to cut down on their usage, but any help on that would be great!
:up: good stuff
TheInsaneManiac
07-27-2008, 05:22 AM
Could this modification cause a site to temporarily stop loading?
Scandal
07-28-2008, 09:05 PM
omg, it really works!! :D
-petros
EricPSF
07-31-2008, 06:25 AM
Thanks Jack! Installed.
Pirat3
07-31-2008, 06:08 PM
So does this work with VBSEO as long as I do this:
Try to modify your .htaccess file:
FIND:
Code:
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron)
REPLACE WITH:
Code:
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|redir\.php)
(i.e. add redir.php to the exclusion list)
msalman
08-03-2008, 12:14 AM
^yes, it works. I had the same problem.
Pirat3
08-03-2008, 06:28 PM
how would you know if this mod is or is not working?
Assim
08-07-2008, 06:28 AM
In my .htaccess, I have some stuff written in it, so I have to copy the contents of this .htaccess and put them right under that text.
It will work that way, right?
iogames
08-08-2008, 03:23 PM
can I exclude some folders from the effects of this?
Dabbi
08-08-2008, 07:05 PM
Wow... this works really well... thank you so much! :)
iogames
08-16-2008, 05:31 PM
there's a line of code where can I exclude some Folders? in those folders I have something that got ugly decomposed for yslow
sross
08-17-2008, 09:29 AM
I am so happy this mod got a good fix for vbseo. I have it running now and it makes an absolutely huge difference in speed. Thanks
iogames
08-19-2008, 04:33 AM
I am so happy this mod got a good fix for vbseo. I have it running now and it makes an absolutely huge difference in speed. Thanks
Happy for you, but I still want to know know why some of my non vbulletin functions got ugly decompose...
Can I exclude some folders from the effects of this hack?
I paid for those scripts and this hacks render the application useless
tekguru
08-19-2008, 09:33 AM
You may want to edit redir.php and remove the 'JS' file type. This will stop it caching javascript which resolved a lot of issues I had.
iogames
08-21-2008, 03:43 PM
Support for YSLOW is ' Ya'slow! '
nabil_kadimi
08-25-2008, 10:31 AM
Best mod I've ever seen
Forum changed for F52 to A93 after uploading tow files... 5 starts... Installed... Added to MOTM
Ray2khax
08-25-2008, 11:43 AM
Very nice mod hope to see this is Become nominated soon :)
VB-STYLE
08-29-2008, 09:59 AM
I got Java Problems after upgrade to 3.7.3
I have deleted.
I think the problem is because of this
RewriteEngine On
AddDefaultCharset Off
####Gzip
<IfModule mod_rewrite.c>
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^(.*)(js|css|gif|jpg)$ 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>
ehsanix
08-29-2008, 11:30 PM
steel using it
there is a huge difference on loading time of web page
thnx 4 sharing it
everybody could use it on any website (amazing) not just for vb!
hjogi
08-31-2008, 09:11 AM
anyone that has got problem with vBull 3.7.3 ?
VB-STYLE
08-31-2008, 12:55 PM
yes :(
https://vborg.vbsupport.ru/showpost.php?p=1609760&postcount=374
madmax1228
08-31-2008, 01:01 PM
I am having a few Java erros as well.
zelnik
09-04-2008, 11:06 PM
any idea when a 3.7.3 compatible version will be released since people are mentioning errors?
trilljester
09-09-2008, 07:21 PM
I had this installed, but uninstalled it, as it conflicted with VBSEO and the gain in performance was nominal, not worth fiddling with VBSEO and the redir.php script to get everything to work properly.
gwerzal
09-19-2008, 12:02 PM
Installed and it does seem much faster.
Thank you very much
sunnylikbeckham
09-28-2008, 08:32 AM
yeah working nice
Hamednet
09-29-2008, 09:42 AM
thanks dear
very nice !
Good i think but some inevitable compatibility issues. Anyway, gj. I will try to implement some of the principles directly on the forum.
raj_singh
10-07-2008, 09:24 AM
Works fine for me thanks
garza
10-07-2008, 10:34 AM
My ability to click on a smilie and have it appear in a post automatically stopped working when I installed this. Any idea why? Any work-arounds?
Chadi
10-12-2008, 03:03 AM
What methods do you all use to test the before/after results?
troybtj
10-15-2008, 05:17 PM
To check if it is all working, install the Yslow plugin for firefox. It shows tats for each page next to a speedometer in the status bar.
This worked excellent, but made the Casino, vbCasino texas holdem stop working, stating javascript needs to be enabled. I had to remove the javascript related cache for and gzip for everything to work properly again. Slots, events, and all the other casino items worked, only Texas Holdem was 'broken'. Not sure if the javascript is dynamic, or why having it cached makes it stopped, same for the gzip. All other javascript runs fine zipped and cached.
Chadi
10-16-2008, 12:09 AM
I'm running Firebug and Yslow extension in Firefox to do a performance test. I get the following...
This page has 15 external JavaScript files.
This page has 5 external StyleSheets.
These components do not have a far future Expires header:This is my htaccess file, using vbseo rules as well:
########## VBSEO ##########
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.talkjesus\.com
RewriteRule (.*) http://www.talkjesus.com/$1 [R=301,L]
RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_FILENAME} (adminbox|modbox|clientscript|cpstyles|images|gold brick|gallery)/
RewriteRule ^(.*)$ $1 [L]
RewriteCond %{REQUEST_FILENAME}index\.php -f
RewriteRule ^(.*)$ $1index.php [L]
RewriteCond %{QUERY_STRING} !vbseourl=
RewriteCond %{REQUEST_FILENAME} !chat
RewriteRule ^(.*\.php)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
RewriteRule ^$ vbseo.php?vbseourl=index.php [L]
RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
########## YSLOW ##########
####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>Also,
These components are not gzipped:
clientscript/vbulletin_global.js?v=373
clientscript/quoteit_bbcode.js
clientscript/ajaxtabs/ajaxtabs.js
clientscript/referencetagging.js
Minify JS
quoteit_common.js
ajaxtabs.js
Mod defalte and mod expires are both enabled.
troybtj
10-16-2008, 02:15 AM
Make sure you don't have multiple compression methods enabled. look at apache deflate.conf and gzip.conf for which file types they are compressing.
They shouldn't be set to compress the same filetypes. If one of them (gzip or deflate in apache) IS set to compress, make sure compression is disabled in vBulletin ACP Site options, and do not run the PHP Compression script (redir.php) in this mod, as redundant compression may uncompress the content, or mangle it in other ways.
Here is my deflate config:
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/plain text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE image/svg+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/atom_xml
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/x-httpd-php
AddOutputFilterByType DEFLATE application/x-httpd-fastphp
AddOutputFilterByType DEFLATE application/x-httpd-eruby
</IfModule>
The lines above are for apache2, deflate is the default compression for apache 2.
The best tip in this mod is the forced caching of relatively persistent objects (images, javascript). If those items are in the cache, it won't matter much if it is 12k or 30k, as it will only be downloaded from your site rarely, instead of on every page load. You can check by looking at "Statistics" tab in Yslow to display which items are cached, saving requests and bandwidth.
For Caching/Expires, I used the headers apache 2 module, with this line for config to cover most everything.
<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$">
Header set Expires "Sun, 15 Apr 2010 18:00:00 GMT"
</FilesMatch>
No other cache control lines in apache2.conf, httpd.conf, or any .htaccess files, and output compression in vB ACP is disabled.
With vBulletin version 3.7.3, I suggest enabling loading the Yahoo YUI scripts from the yahooapis.com CDN. Those scripts are rather large, even when compressed. If you pay for bandwidth by the month, and those are loaded with every page, it can add up very quickly on a high traffic site.
With the above changes and settings, Here are the results from the Firefox Yslow add-on on a 3.7.3 PL1 site with quite a few add-ons: (Everything after 6 is an "A")
B 1. Make fewer HTTP requests
This page has 6 external JavaScript files.
F 2. Use a CDN
You can add your own CDN hostname preferences.
A 3. Add an Expires header
A 4. Gzip components
A 5. Put CSS at the top
C 6. Put JS at the bottom
If you have the ability to change the apache configuration and modules, such as a dedicated server, etc, these config changes would be one good solution out of many methods.
If your only ability to change anything about the server is an .htaccess file, and gzip or deflate aren't installed in your apache server, then this script/.htaccess mod is about your best solution, as well as enabling compression in vB ACP.
Chadi
10-16-2008, 02:42 AM
Thanks.
For Caching/Expires, I used the headers apache 2 module, with this line for config to cover most everything.You're putting this code where? The expires rules I posted before apparently are not getting picked up right only on 3 external .js scripts I'm using, according to the yslow/firebug tool. Is there a possible workaround for external requests?
(no expires) http://www.verse-a-day.com/js/vad.js
(no expires) http://www.cbox.ws/box/click18c2.wav
(no expires) http://www.cbox.ws/box/relay.swf?host=www1.cbox.ws&port=443&t=2
I'm still having issues with the following:
- minify js
- make fewer http requests
This page has 16 external JavaScript files.
This page has 5 external StyleSheets.
I did a search templates search for both .css and .js, did not find any "external" request at all, except for two .js for bible verses on the home page mainly. Not 21 total.
Emperor_Mel
11-09-2008, 10:24 AM
A noticable improvement.. Thanks :)
GafferSports
11-09-2008, 01:50 PM
Thank you
MuTheMatrix
12-23-2008, 08:03 PM
thanks a lot for this.
otto07
12-24-2008, 06:31 AM
great work works perfectly thnx
K4GAP
12-24-2008, 07:04 AM
I can not believe how good this works!! Why wouldn't this be included as a part of VB?
Thank you
Thank you
Thank you
lucky51
12-24-2008, 10:53 AM
where i can find these line
#LoadModule rewrite_module modules/mod_rewrite.so
remove # as:
LoadModule rewrite_module modules/mod_rewrite.so
thanks
soundbarrierpro
12-24-2008, 01:40 PM
I can not believe how good this works!! Why wouldn't this be included as a part of VB?
Thank you
Thank you
Thank you
Because it's not tested with all of the mods. It doesn't work with a lot of mods and causes compatibility issues. It's sorta try on the fly.
***Make sure you backup before using
blackberry
12-24-2008, 05:53 PM
hmmm nice
done
Saviour
12-24-2008, 10:12 PM
This mod seems to have issues with this mod: https://vborg.vbsupport.ru/showthread.php?t=195858&highlight=Cafe+Press
Unfortunately, I had to uninstall it.
This works on my windows server running IIS6 and custom mod rewrite:
See before an after:
I went from an F rating on yslow FF plugin to B's, C's.
Thanks somuch :up:
The only setting that didn't work default is FileETag none
Had to configure manually in IIS with an alternative method
nikosb
12-28-2008, 07:59 AM
good..thank you !
madmax1228
01-06-2009, 06:16 PM
reinstalled after upgrade
madmax1228
01-06-2009, 09:17 PM
Uninstaled. My forum went haywire right after installing. I have to do a little research on what I did as so many folks are not having issues with this hack.....must be me.
redlabour
01-21-2009, 08:07 PM
Works great together with vB Optimise (https://vborg.vbsupport.ru/showthread.php?t=199207)!
TheGreatTK
01-25-2009, 02:56 AM
Wow! Makes a big difference.. all those KB shaved off will definitely help us out later down the road.
Installed :)
will work with vb 3.8.0?
we r on apache/Vbseo3.2.0/xcache
KevinL
01-25-2009, 06:37 AM
will work with vb 3.8.0?
we r on apache/Vbseo3.2.0/xcache
Yeah not a problem. Just search over at the vbseo site. There is a small fix for this. Search for YSLOW there and you'll find the fix from one f the staff members in a thread.
EDIT here you go ;) http://www.vbseo.com/f10/request-integrate-support-yslow-vbseo-24724/index2.html#post154368
just curious..whats the diff. in between YSLOW & Minify Css
Brandon Sheley
01-29-2009, 01:44 AM
interesting mod, will check it out
earthome
05-23-2009, 10:00 AM
Good
SBlueman
05-23-2009, 11:07 AM
I have two .htaccess files.....one in the root and one in the forum:
Root:
#RewriteEngine On
#RewriteCond %{HTTP_HOST} !^gridironfans\.com
#RewriteRule (.*) http://gridironfans.com/$1 [L,R=301]
####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>
#ErrorDocument 404 /404.php
Forum:
# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On
# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
#RewriteBase /
RewriteEngine On
RewriteCond %{HTTP_HOST} !^gridironfans\.com
RewriteRule (.*) http://gridironfans.com/forums/$1 [L,R=301]
RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
RewriteRule ^rss/([0-9a-zA-Z_\-]+)/ zointstags_external.php?do=tag&tag=$1 [L]
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron)
RewriteRule ^((archive/)?(.*\.php(/.*)?)?)$ vbseo.php [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php [L,QSA]
<IfModule mod_security.c>
</IfModule>
Am I supposed to have two different files?
dancue
06-09-2009, 10:16 PM
Quick question. Am I uploading the php file to the forum root, or uploading the yslow folder with the php file within the forum root?
RTMdotORG
06-14-2009, 06:13 AM
works good but shows theres errors in the bottom left corner of IE....
TheInsaneManiac
08-19-2009, 09:30 AM
About how much more strain would this put on the server, because I got DDoSed and they targeted the redir.php and kicked me out of the park with a whopping 65.72 load. I'm not suppose to go over 1.0 and I got suspended for a day until we could isolate the problem. I'm not saying that it causes a huge load, as any file being targeted with that many people could send the server flying, but I would like to know about how many extra queries it could add?
Jaxel
08-21-2009, 07:53 AM
Been using this mod for a year, and it has been GREAT!
However, after EVO2K9, the traffic on my website has doubled. I found performance starting to straggle. So I disabled this mod and now things seem to be running smoothly. If you have a high traffic forum, you may start having issues with this mod.
Bandwidth isn't as much of an issue for me, as I am more worried about performance; so I don't have a need for this mod anymore.
MikeWarner
01-03-2010, 10:44 AM
Just tried this in vB4.0 and it seems to work fine. :)
bart6767
01-04-2010, 07:41 PM
This works well on vB4.0
zombietom
01-10-2010, 05:18 PM
tested it and seems to help a bit.
Now how do we uninstall it if the .htaccess file dissapears?
the only file I see is the other one redir.php , but the other one is gone :confused:
Same here..it seems to make a little difference but i get a IE error
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30618)
Timestamp: Sun, 10 Jan 2010 19:17:06 UTC
Message: 'myexample' is undefined
Line: 3136
Char: 1
Code: 0
URI: http://www.tzaclan.net/
Message: 'myexample' is undefined
Line: 3136
Char: 1
Code: 0
URI: http://www.tzaclan.net/
So i might uninstall it but i don't see the .httacess file?
anyone help or give a little advice?
thanks
UPDATE:
Ok,i finally found the .htpacess file and deleted it but i'm still getting the IE error..where/How do i fix it ? it drives me nuts to have errors.
thanks
zombietom
01-10-2010, 08:20 PM
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30618)
Timestamp: Sun, 10 Jan 2010 19:17:06 UTC
Message: 'myexample' is undefined
Line: 3136
Char: 1
Code: 0
URI: http://www.tzaclan.net/
Message: 'myexample' is undefined
Line: 3136
Char: 1
Code: 0
URI: http://www.tzaclan.net/
^ how do i find out where this error is..come on i know some of you wizards know how to help me
thanks
random1231231231
03-05-2010, 03:58 AM
Can i use it on vb 4.0.2 ? I am really interested.
DimOK
03-08-2010, 05:10 PM
Just add this line to .htaccess and it will work almost the same way...
it tells apache to gzip all text files (pages, css, js, rss)
<ifmodule mod_headers.c>
<ifmodule mod_deflate.c>
# Compress some text file types
AddOutputFilterByType DEFLATE text/html text/css text/xml application/x-javascript
# Deactivate compression for buggy browsers
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
</ifmodule>
</ifmodule>
ps2wiz
03-15-2010, 09:01 AM
Well, I use a windows server so it does not use a .htaccess file. Any instructions to configure this for my web.config file with vbseo?
Thanks
ccozkaraca
03-16-2010, 08:00 AM
Can i use it on vb 4.0.2 ? I am really interested.
Yeah can we use this on VB 4.0.2 ???
Simon Lloyd
03-17-2010, 08:55 AM
Just add this line to .htaccess and it will work almost the same way...
it tells apache to gzip all text files (pages, css, js, rss)
<ifmodule mod_headers.c>
<ifmodule mod_deflate.c>
# Compress some text file types
AddOutputFilterByType DEFLATE text/html text/css text/xml application/x-javascript
# Deactivate compression for buggy browsers
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
</ifmodule>
</ifmodule>
Does adding this to my forums .htaccess despense with the need for this mod? it's just that this mod seems to have more load on the server which i can't afford to have as my forum is heavy in that respect.
ps2wiz
05-05-2010, 02:51 AM
How do I check that It is properly working on my site?
doraj
05-05-2010, 08:04 PM
This works on my windows server running IIS6 and custom mod rewrite:
See before an after:
I went from an F rating on yslow FF plugin to B's, C's.
Thanks somuch :up:
https://vborg.vbsupport.ru/attachment.php?attachmentid=91305&d=1230451826
Hello Hydn, sorry but with what software do you make these screenshots? Page Speed for Firefox or other?
Thanks
pedroenf
06-06-2010, 01:34 PM
Install a firefox plugin named yslow.
sweetguy2004
06-08-2010, 10:41 AM
this stuff simply rockss thanks mate
RTMdotORG
06-29-2010, 07:33 PM
This made my Manage Attachment button disappear....
Juggernaut
07-13-2010, 11:27 PM
Is this compatible with vBulletin 4.0.4?
onesexforum
10-28-2010, 10:41 AM
is this compatible with the vBulletin 4.0.7 and 4.0.8??
evo10
12-05-2010, 06:24 PM
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.
final kaoss
01-20-2011, 02:31 PM
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
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>
TeknoSounds
01-21-2011, 03:07 AM
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....
synseal
07-01-2011, 10:04 AM
working with 4.1.4 :up:
https://vborg.vbsupport.ru/external/2011/07/55.png
TeknoSounds
07-01-2011, 10:14 AM
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 :p
CrystaStarLight
07-10-2011, 04:00 AM
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?
[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?
......................................
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!
benstillman
07-26-2011, 02:47 AM
Nevermind.
greenspan
09-12-2011, 06:46 AM
Working on 4.1.5 :)
TheHack3r
12-03-2011, 11:57 AM
Working perfectly too on 4.1.3 Patch Level 5
Nirjonadda
05-19-2012, 02:28 PM
Does it work on 4.1.10 ?
tehPARADOX
08-03-2012, 05:25 AM
Thanks
SIINSI
10-13-2012, 05:08 AM
Makes my Cyb Chatbox not work...
moustafa
11-28-2012, 05:20 PM
working perfectly, but where do you get this chart comparison between before and after status?
Rodrigo.
02-08-2013, 11:19 PM
Work vbulletin 4.2 Pc Level3 ????????
fxdigi-cash
03-10-2013, 06:59 PM
well, I tried it on vb4.2 pl3, but not changes noticed!!
I know what better solution is, you can re-arrange your external css and js files in a certain order where css files have to be always on top and then js files after. you will notice sharp changes. You also need to add header set like this one:
<IfModule mod_headers.c>
<FilesMatch "\.(bmp|css|flv|gif|ico|jpg|jpeg|js|pdf|png|svg|swf |tif|tiff)$">
Header set Last-Modified "Mon, 31 Jan 2013 00:00:00 GMT"
</FilesMatch>
</IfModule>
just copy exact code and no worries. place that code in the .htaccess in the same forum root...
Good luck.
SWSUSA
07-05-2015, 02:17 PM
In vBulletin 4.2.2 works?
В vBulletin 4.2.2 работает?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.