vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=242)
-   -   Step by Step guide to speed up your VB4 OR VB3 (https://vborg.vbsupport.ru/showthread.php?t=267588)

tpearl5 03-31-2014 09:00 PM

Quote:

Originally Posted by final kaoss (Post 2490730)
You'll be just fine using mod_deflate. Just turn off vbulletin's gzip function otherwise, you'll be increasing load for no reason plus I don't believe vbulletins gzip feature covers everything.

Right. I meant server level gzip. In other words, a lot of hosts already have things configured in httpd.conf. Some already have them configured with mod_deflate too.

Firyou 04-08-2014 08:03 AM

Nice tutorial Final Kaoss. I'm currently looking to add those modifications to my .htaccess file. Currently when I open up that file in my public_html for the root of the site, I see just these two lines in the file

Code:

Options +FollowSymLinks
Options +SymLinksIfOwnerMatch

Is this the right location on where to add the changes? I have never modified this file in the past and I didn't create it either, it was there already. Tyia

I also have vb 4.2.0 pl4

final kaoss 04-08-2014 11:05 AM

You want to have the htaccess in the same folder as your vbulletin installation. So if you have your vbulletin installed in the default public_html, then yes that's the right place to modify that htaccess file. Otherwise, move the htaccess to the vb install and then modify it.

Mike0 04-28-2014 02:13 AM

The line
Code:

ExpiresByType text/html A3600
causes issues with logging in.

final kaoss 06-07-2014 03:59 PM

I've tested with removing that line and it makes no difference. Refer to post 3 for the fix.

Fields 03-13-2015 09:00 AM

One of the best articles here, thanks for this!

I have just several small problems:

When I read a thread, the statusicon on FORUMHOME still displays new posts.
When I delete a PM, I also need to reload the page in order to make the PM vanish.
When I move a thread to an other forum, it's still displayed in the same forum until I am reloading.

etc. etc.

Do you know how to fix this?

I am using vB 4.2.2 PL4, DBSEO and vB Optimise.

TheLastSuperman 03-20-2015 06:50 PM

Quote:

Originally Posted by Fields (Post 2540338)
One of the best articles here, thanks for this!

I have just several small problems:

When I read a thread, the statusicon on FORUMHOME still displays new posts.
When I delete a PM, I also need to reload the page in order to make the PM vanish.
When I move a thread to an other forum, it's still displayed in the same forum until I am reloading.

etc. etc.

Do you know how to fix this?

I am using vB 4.2.2 PL4, DBSEO and vB Optimise.

vB Optimise is a good mod, I have however ran into some very odd issues with it in the past so with that being said try simply disabling it then clearing your system cache - now check to see if the display issues are resolved. If yes then its something with vB Optimise if not then re-enable the mod and keep checking.

final kaoss 03-01-2018 04:48 AM

A few small edits were made.

Also it's worth noting that if you use cloudflare, you can ignore the compression settings in the article & let cloudflare handle it.

With Brotli, it should deliver better performance but it requires https to be enabled.

bigrover 04-23-2018 01:26 AM

I'm trying to apply these instructions to a test vb 4.2.5 site but I can't get past changing the Friendly URL's from Basic to Mod Rewrite Friendly Rules. When I do this I lose access to my forums. I can display the forum home, but when I click on any forum or category below that I get the following message:

Code:

Not Found
The requested URL /vb/forums/7-xxxxx was not found on this server.

Apache/2.4.7 (Ubuntu) Server at thetestsite.org Port 80

My current .htaccess file is:

Code:

# To redirect all users to access the site WITH and WITHOUT the www. prefix
# to the /vb subdirectory

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.thetestsite\.org$ [NC]
RewriteRule ^(.*)$ http://thetestsite.org/$1 [L,R=301]

redirect /index.html http://thetestsite.org/vb/index.php

Where am I going wrong?

final kaoss 04-23-2018 02:11 PM

On the first post where it says to add your rewrite rules, these are the default ones that you can use for compatability with the Mod Rewrite Friendly Rules. Simply throw this in, in between these lines.

#add your friendly url rewrite rules below.

#stop adding your friendly url rewrite rules here.

Code:

RewriteCond %{REQUEST_FILENAME} -f [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} -f [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d

RewriteRule ^.*$ - [NC,L]

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

# Check MVC result
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^(.*)$ - [NC,L]
RewriteRule ^(.*)$ - [R=404,L]



All times are GMT. The time now is 02:18 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.04799 seconds
  • Memory Usage 1,744KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete