That did the trick, thank you for all of this. Using this I was able to get my Pagespeed score up from 51 to 92.
Also went from F and D ratings on GTMetrix to A+'s Oh and my board is stupid fast. --------------- Added [DATE]1366070488[/DATE] at [TIME]1366070488[/TIME] --------------- Don't know if this is related, but now when I try to post an embed of a tweet, it takes you to "about:blank" but the post is posted still. --------------- Added [DATE]1366078991[/DATE] at [TIME]1366078991[/TIME] --------------- Also...ability to mark forums read by clicking the forum icon does not work now? |
I've just tried the doubleclicking on the forum icon to mark as read and it is still working for me, just don't "double click" as fast as you normally would outside of a browser. Also, I'm not sure about the twittter issue.
Also not only is your board faster but you should see drastic improvements in bandwith, cpu & memory usage. |
Quote:
One more question, is there a way to disable these features on just a specific style? I ask because many users and me are experiencing the page numbers on the mobile style not showing up anymore, randomly. Sometimes they are there, sometimes they are not. It has to be a caching issue. As for double clicking, tried a few things...no go. |
Link me to your site & I'll have a look at it for you, I myself don't use mobile that much but I'll check it out for you to see what's going on.
|
Quote:
|
Noticed all the javascript was not being gzipped.
Seems "application/x-javascript" is not doing it. Need to add "application/javascript" to the mod_deflate output filters. After adding that all vBulletin javascript is being reporting as compressed. Edit Line: Code:
AddOutputFilterByType DEFLATE text/css application/x-javascript text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon Code:
AddOutputFilterByType DEFLATE text/css application/x-javascript application/javascript text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon Before Change: Code:
Use gzip compression for transferring compressable responses: 77/100 Code:
Use gzip compression for transferring compressable responses: 100/100 --------------------- Edit: Any reason you are not also recommending the caching of static javascript? |
I'll have to look into that a bit more tomorrow.
Right now, I have to use my iPod, due to the storms over here just a bit east of OKC, oklahoma. Most of that htaccess is from the mod w3tc total cache for Wordpress with the vbulletin friendly URL rewrites. Odd, I've never noticed my scores failing on that part. http://gtmetrix.com/reports/www.vide...t.com/Bzmh2VF9 At any rate, it's been added to the htaccess in the first post. Thanks for that! |
First post updated with an assortment of different htaccess setups that should help people using vbseo, clogic seo for vb3 or yabbseo for vb3.
|
I have applied Step one and the effect is wonderful, now I'm optimising images, but in the vB4 SuperCharged mod it states that we sould'nt use on vB 4.21. Can I use it? with your recomendations to disable:
Quote:
|
The author hasn't updated it in quite some time. I still use it on my vbulletin 4 which is updated to the latest version. You can use them if you find they work for your forum but be aware of the warnings listed for each one.
I don't use the html optimizer because using gzip/mod deflate, the whitespace really doesn't become a big issue... unless you have thousands of linebreaks with no content, even so, I don't find a reason to let it consume extra cpu & memory when compressing with gzip/mod deflate. Javascript Optimizer, I think I remember there being issues with loading the editor & other mods with it enabled, so I leave it off. The Attachement Optimizer has a warning against using it on apache servers, since I run apache, I leave it off. |
Thanks for your reply. I've put all this way and runs fine (and Pagespped score goes form 50 to 86!) Now I'm in the way to install TMS to get United-Forum CSS Sprites running or install the changes manually
|
Good to hear but remember that on the pagespeed tests, the most you can do for the external stuff is try to defer them & try to reduce the script size. Also try to get in touch with whoever is serving third party scripts to you if anyone and ask them about enabling caching on their side.
|
When I download the attachment containing htaccess examples, and unzip, the folders are empty.
|
Hi, I just redownloaded the same attachment to test your claim, I can see every one of them fine. There is a .htaccess within the folders. Upload the right one to your forum root.
|
Quote:
|
Whichever works for you, I have them worked out to where many people shouldn't need to edit the file much from it's current state.
And yeah I don't use Mac but they should show up on your OS. I saw that you are using vbseo in another article, this one should work for you. Code:
# Author: Final Kaoss (aka: Extreme-Gaming) |
When I run the load tests I get a failing score in browser caching so I would like to improve that.
This statement at the top of your .htaccess file confuses me. Quote:
We have a mod in place from a long ago import process that translates foreign references to our old message board location to the current location with translations of post, thread, etc. id's from the old values before import to the current imported values. I know I should do a bulk edit and replace all those old url's with the current ones, but it is quite a bit of work. I am hoping there is some way I can get to better browser caching with a bit less work than a bulk edit of 11 years of threads and posts. |
First off this is a very old article. What version of Vbulletin are you using?
If your site has been up for a long time I would not change the url structure. It will hurt you in Google badly. If you want to pm me your url I will take a look and give you some suggestions. |
Yes I agree if you have been using regular urls, then you're probably better off with sticking to those kinds of urls.
Delete the rewrite rules above this part: #Deny attempts to view the Htaccess file. BTW... did you copy what I posted in my last post? That is for vbseo users. I have an attachment with a suite of different .htaccess setups, even one that doesn't support the mod-rewrite FURL's. |
Updated with some new caching & gzipping methods on page one. Feel free to test out the new htaccess.
I'll keep trying it & checking out everyone's response to it for one month and if all goes well I'll replace the original zip file with the updated one which now also protects viewing of the htaccess file itself & several methods of injection. |
Thank you for taking the time to create, paste, and PM me. It works flawless. You have a PM.
Thanks again Final Kaoss! |
|
No problem guys :P
|
Minor problem with article editing:
When editing article its saves and content after edit is there, but if after edit I go again in edit area content which I edited previously is not there. After clearing cache from browser and going in editing area everything seems to be ok. Another thing, do I have to do all steps from this article in order that .htaccess code works properly or I can miss some of those [modificatios] ? Running VB 4.2.1, using .htaccess code from first post here, and on top of your code I got this: RewriteEngine On RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] in forums and in public_html root .htaccess file All in all great .htaccess code , my site is like 30-40% faster loading pages :] edited: Users reporting problems with writing messages in user profile, message which someone posted in profile is not vissible by owner of profile or something like that, also user is deleting posted images in profile than after reloadin profile page pictures are still there...cache issue looks like as after some time its all ok ps few days ago I changed in VB amdinCP from basic friendly urls to advanced, did try to change to Mod Rewrite Friendly URLs but no can do as I got me problem with forums which contain in titles non latin characters... errors everywhere.. not sure is it any good from basic to advanced but... just to mention if this by any chance can help |
Hi for using the htaccess, this step is pretty much necessary.
https://vborg.vbsupport.ru/showpost....44&postcount=3 That tends to help resolve most of the content saving issues & stuff like that. GL |
Missed that one, just set disabled content caching in adminCP, will test it out...looks like that was the problem
using code from zip now Thanks a lot :] |
No problem mate, if anyone has any issues or questions, don't hesitate to post!
|
Me again :o
While testing on http://tools.pingdom.com/ Got me some 404 errors lastpost-right.png php.png sections.png users_online.png and so on, about 20, all images edited: something is wrong, now more 404's strange thing is that once i test page i got me those errors, than i test again than no errors, than again errors... Thank you |
Everything appears to be in working order as far as I can see.
http://www.webpagetest.org/result/130916_JJ_D5S/ If testing any other pages, the color coding helps a bit, keep an eye out for results marked red from this testing site. |
yes, just wondering why that test AT http://tools.pingdom.com show's me sometimes [not every time] those 404's for images and some other stuff, and sometimes same site for testing shows its all ok
thanks, your .htaccess code rocks :D |
Koss - since this article is more then 2 years old, maybe its time to revise it and make a new article?
|
It's been revised every now & then and I feel it's a pretty near complete guide set out to speed up vbulletin as intended. For the most part, there simply isn't much more to add to it :)
http://gtmetrix.com/reports/www.vide...t.com/fokotAjK I think a pagescore of 98 is about as close as it'll get when it comes to dealing with vbulletin. You can always throw in suggestions of course though. |
I am completely baffled by what I see here
http://www.webpagetest.org/result/13...7ME/1/details/ http://gtmetrix.com/reports/www.migh...y.com/6lRw4ubE Am I in need of improvements? |
I'm pretty sure this is a bug with internet explorer when selecting your browser choice in WPT.
Testing with chrome comes out with some different results. http://www.webpagetest.org/performan...run=1&cached=0 Using both of the results to examine what's going on with your site it looks like both can agree that caching is the biggest issue for you... and that by itself can save lots of bandwidth/server resources. |
I am having some minor problems with videos streaming on my site, can this code in some way interfere with streaming players?
Problem for me is that when I load several pages with videos [on some pages few videos, articles mostly] in short time players got frozen, thay cant load video...when cache is cleared everything is ok. Maybe it is cause my host, this code or...I don't have any idea? |
I've never had any issue like that, I would guess that it's your browser or ISP. Just tested it with a video and had no problems.
http://www.video-game-chat.com/forum...l#.UkhWUoafjy0 |
Step 2: Combine Javascript and Minify Javascript & CSS and Minify HTML.
Not compatible with VB3 how can i implement this on vb3.8.7? --------------- Added [DATE]1381399326[/DATE] at [TIME]1381399326[/TIME] --------------- how do i go about enabling compression? I did some research and found the following but have no idea which to implement. http://httpd.apache.org/docs/current...d_deflate.html |
Hi there, compression is already available in that .htaccess However your host may not have it enabled which would be the best explanation. Another reason it may not work is if you're using somthing other than apache, like nginx.
As for combining js & css, I don't believe there is a mod available for that (I haven't checked because I just don't use vb3 anymore). But there are alternative tools that you can try that claim to get the job done. https://vborg.vbsupport.ru/showthrea...60#post2450760 Also it looks like you should toss a copy of the htaccess into this folder. http://cdn.forums.sgclub.com http://gtmetrix.com/reports/forums.sgclub.com/jhstK2e6 Looking at your test, it appears that compression is indeed enabled.... Just be aware that most offsite elements are likely to fail on these kinds of tests and you don't have much control over them when it comes to compression & caching but you can always throw in a defer tag to see if it helps them. Also I haven't tried to login to your forum but if you're having some login issues (most people do...) be sure to do this step too. https://vborg.vbsupport.ru/showpost....44&postcount=3 One last thing... if you want to see more improvement I would cut down on the external resources.... You have alot, way more than the average site! I would suggest you have a look at these and decide which one's you don't need anymore. I see quite a bit of urls with "cdn" in their name, try running your site for 1 day without any cdn's transferring data, I would bet you would see improvements. http://www.webpagetest.org/domains.p...run=1&cached=0 |
i've already used the htaccess you recommended, but it still says browser caching is not enabled? was there something wrong with my implementation?
|
Like I said, it will report that off site resources are probably not cached, gzipped etc. Since they're not on your server, you can ignore those. You will have to contact whoever you're using the third party scripts from and inquire to them about the issue.
Also your page is scoring much better now. http://gtmetrix.com/reports/forums.sgclub.com/ctKQgbgq |
All times are GMT. The time now is 11:06 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 | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|