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)

final kaoss 08-01-2011 06:07 PM

No, that plugin is free.

8thos 08-01-2011 06:29 PM

Where is the download for it? I didn't see it on that site. So I can use cloudflare cdn through this plugin?

BTW I found out what was slowing down my first byte time. It was vbenterprise translator. Either it's not configured right or it's just too much for my site. Disabled for now. Pretty dissapointed right now as it costs $200 something. Asked the mod creator if he does refunds just now.

final kaoss 08-01-2011 06:34 PM

<a href="http://discovertheartist.com/product-cdn.xml" target="_blank">http://discovertheartist.com/product-cdn.xml</a>

(right click and save) & upload

8thos 08-01-2011 07:29 PM

Thanks! Trying to figure this out now.

--------------- Added [DATE]1312232398[/DATE] at [TIME]1312232398[/TIME] ---------------

This is all I have left to fix for speed.

Combine static CSS and JS files: 0/100
Proper cookie usage: 32/100

That vbseo cdn link should fix the proper cookie usage right?

final kaoss 08-01-2011 08:20 PM

it should as long as you point it to either:

A cookieless subdomain
A cookieless domain

You can always get a free hosting account at x10hosting and put your static there & point to it.

steeler7 08-03-2011 04:15 PM

Where is my .htaccess file? I can find the one in my entire website root but under /forum I don't see one. Should I be using the one on my web root or do I have to create an .htaccess file?

final kaoss 08-03-2011 07:53 PM

Ok, if you want to use the one in the /public_html you can. Just add everything in the htaccess provided EXCEPT the rewrite rules. (this will provide caching for any directories contained in the /public_html folder)

Now, after that, your going to have to make a htaccess in your forum root if one isn't already there. Add the friendly url rewrites into that one and your good to go.

steeler7 08-04-2011 01:24 AM

Quote:

Originally Posted by extreme-gaming (Post 2228898)
Ok, if you want to use the one in the /public_html you can. Just add everything in the htaccess provided EXCEPT the rewrite rules. (this will provide caching for any directories contained in the /public_html folder)

Now, after that, your going to have to make a htaccess in your forum root if one isn't already there. Add the friendly url rewrites into that one and your good to go.

thanks!

I bypassed doing one in my public_html since it didn't sound like it was needed and I just created an htaccess file using code that you provided

final kaoss 08-04-2011 06:27 PM

ah ok then.

teach1st 08-07-2011 11:10 PM

The .htaccess bit sped up my forums, but made notifications for PMs unreliable. PMs would show in the inbox and then disappear on reload. 4.1.5pl1

rajubd 08-07-2011 11:49 PM

user keep complaining they unable to find new post so I removed it

final kaoss 08-08-2011 03:13 AM

Teach & raj, can you give me some examples?

Also, is this with htaccess alone... with vbsc alone... with htaccess & vb supercharged both used? I need some more details to help you both out.

rajubd 08-08-2011 04:52 AM

I am not using vbseo. problem relate to forum home page only. you can find here user name test pass : 123456 http://www.mobilephonetalk.com/showt...acking-Attempt

teach1st 08-08-2011 09:54 AM

Quote:

Originally Posted by extreme-gaming (Post 2230748)
Teach & raj, can you give me some examples?

Also, is this with htaccess alone... with vbsc alone... with htaccess & vbsc both used? I need some more details to help you both out.

I'm not using vb supercharged or any type of SEO that I know of. As far as the delayed PM notifications, I am using Cel Social Groups notifications. Let me know what else you need.

final kaoss 08-08-2011 02:39 PM

vbsc = vb supercharged... not vbseo

rajubd 08-09-2011 03:40 PM

I am not using vb supercharge using vb optimize lite

final kaoss 08-09-2011 11:39 PM

You're going to have to contact vb optimize then. Thanks.

whitey10tc 08-17-2011 01:21 AM

I've given this a try with the end result of
a constant cycling admin cp <-- cloudflare issue,
Login/logout issues <-- All browsers
Ads and images not appearing <-- All browsers.

Although the site was lightning fast, any suggestion mainly for the login issue and images issue, I've disabled cloudflare and the Admincp is back to normal.

final kaoss 08-17-2011 04:01 AM

I would think those issues are related to cloudflare, I set my cloudflare account up via the hostgator wizard and all that I notice is that it saves queries, doesn't serve static from their domains, combine js etc.

whitey10tc 08-17-2011 03:09 PM

Quote:

Originally Posted by extreme-gaming (Post 2234370)
I would think those issues are related to cloudflare, I set my cloudflare account up via the hostgator wizard and all that I notice is that it saves queries, doesn't serve static from their domains, combine js etc.

The issue with the admin cp I confirmed to be a cloudflare issue, because it stopped after disabling cloudflare but the others continue after modifying the htaccess file.

final kaoss 08-17-2011 04:39 PM

and I'm guessing your using vbsc or vb optimize?

whitey10tc 08-17-2011 07:25 PM

Quote:

Originally Posted by extreme-gaming (Post 2234608)
and I'm guessing your using vbsc or vb optimize?

Yes VBSC. on 4.1.3 pl3.

final kaoss 08-17-2011 11:22 PM

I have a feeling that vbsc might be conflicting with some of your mods, the author hasnt updated it since vb 4.0.3 and has told me that there are no plans to continue updating the mod. It has a known history of conflicting with other mods but for now it's the only plugin that I can find that combines js & css for vb4

whitey10tc 08-18-2011 04:36 AM

Quote:

Originally Posted by extreme-gaming (Post 2234753)
I have a feeling that vbsc might be conflicting with some of your mods, the author hasnt updated it since vb 4.0.3 and has told me that there are no plans to continue updating the mod. It has a known history of conflicting with other mods but for now it's the only plugin that I can find that combines js & css for vb4

:eek: Maybe I'll mirror the forum to a password protected forum disable all the mods, load the htaccess and start loading the mods one by one and see if I can trouble shoot this. The htaccess file and vbsc alone increased the load times to less than 2 seconds, but had the login troubles and refreshing page issues.

final kaoss 08-18-2011 04:07 PM

I'm not sure what's going on but it seems like the same thing with this guy
https://vborg.vbsupport.ru/showpost....9&postcount=18

I had no problems on his site & even showed him, yet on his end, he had problems.

apaydin2148 08-31-2011 03:40 PM

What if I use vbseo? How can I edit htaccess (post3) for vbseo?

final kaoss 09-02-2011 01:13 AM

You can use this with vbseo, here's how.

https://vborg.vbsupport.ru/showpost....0&postcount=26

whitey10tc 09-03-2011 04:28 PM

Quote:

Originally Posted by extreme-gaming (Post 2234987)
I'm not sure what's going on but it seems like the same thing with this guy
https://vborg.vbsupport.ru/showpost....9&postcount=18

I had no problems on his site & even showed him, yet on his end, he had problems.

I haven't yet figured it out, but I am going to be setting up a new forum to complement the current one so I will further some tests on it before I open it to the public.

gec100 09-07-2011 06:47 AM

how could i use this with CMS?

tried to put it in the root rewriting the original httaccess, but got problems with caching similar to tech and raj problems.

thx

final kaoss 09-07-2011 08:05 PM

Hi, I don't have access to cms. Can you pm me the default htaccess that comes with the cms package?

gec100 09-08-2011 06:47 AM

there is no default httaccess with cms.

here's the one that my isp put there:

Code:


deleted ...

i have very little knowledge about httaccess file so i do hope i did not post something i should not :p

final kaoss 09-09-2011 06:57 PM

No sorry that htaccess that your isp left you won't help me look into the cms problems, thanks anyways.

doctorsexy 09-13-2011 02:05 PM

Im having problems with the htaccess i get a 500 error internal server when i use it ...

final kaoss 09-13-2011 07:07 PM

Yeah, your using a CMS as well from what I can see. I don't support the cms, forum only like the title says, sorry. Also gec, I wouldn't be surprised if your issues were cookie related. You might want to check your browser & vbulletin config.

appsfinder 09-28-2011 04:25 AM

hi all i would like this to work for vb3 please can you help what do i need to do for my htccess file?

final kaoss 09-28-2011 09:41 PM

You can use this with vb3 by doing the same thing I linked to in an earlier post.

Code:

#Deny attempts to view the Htaccess file.
<Files .htaccess>
Order allow,deny
Deny from all
</Files>
# BEGIN Browser Caching/Headers
<IfModule mod_mime.c>
    AddType text/css .css
    AddType application/x-javascript .js
    AddType text/html .html .htm
    AddType text/richtext .rtf .rtx
    AddType image/svg+xml .svg .svgz
    AddType text/plain .txt
    AddType text/xsd .xsd
    AddType text/xsl .xsl
    AddType text/xml .xml
    AddType video/asf .asf .asx .wax .wmv .wmx
    AddType video/avi .avi
    AddType image/bmp .bmp
    AddType application/java .class
    AddType video/divx .divx
    AddType application/msword .doc .docx
    AddType application/x-msdownload .exe
    AddType image/gif .gif
    AddType application/x-gzip .gz .gzip
    AddType image/x-icon .ico
    AddType image/jpeg .jpg .jpeg .jpe
    AddType application/vnd.ms-access .mdb
    AddType audio/midi .mid .midi
    AddType video/quicktime .mov .qt
    AddType audio/mpeg .mp3 .m4a
    AddType video/mp4 .mp4 .m4v
    AddType video/mpeg .mpeg .mpg .mpe
    AddType application/vnd.ms-project .mpp
    AddType application/vnd.oasis.opendocument.database .odb
    AddType application/vnd.oasis.opendocument.chart .odc
    AddType application/vnd.oasis.opendocument.formula .odf
    AddType application/vnd.oasis.opendocument.graphics .odg
    AddType application/vnd.oasis.opendocument.presentation .odp
    AddType application/vnd.oasis.opendocument.spreadsheet .ods
    AddType application/vnd.oasis.opendocument.text .odt
    AddType audio/ogg .ogg
    AddType application/pdf .pdf
    AddType image/png .png
    AddType application/vnd.ms-powerpoint .pot .pps .ppt .pptx
    AddType audio/x-realaudio .ra .ram
    AddType application/x-shockwave-flash .swf
    AddType application/x-tar .tar
    AddType image/tiff .tif .tiff
    AddType audio/wav .wav
    AddType audio/wma .wma
    AddType application/vnd.ms-write .wri
    AddType application/vnd.ms-excel .xla .xls .xlsx .xlt .xlw
    AddType application/zip .zip
</IfModule>
<IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType text/css A31536000
    ExpiresByType application/x-javascript A31536000
    ExpiresByType text/html A3600
    ExpiresByType text/richtext A3600
    ExpiresByType image/svg+xml A3600
    ExpiresByType text/plain A3600
    ExpiresByType text/xsd A3600
    ExpiresByType text/xsl A3600
    ExpiresByType text/xml A3600
    ExpiresByType video/asf A31536000
    ExpiresByType video/avi A31536000
    ExpiresByType image/bmp A31536000
    ExpiresByType application/java A31536000
    ExpiresByType video/divx A31536000
    ExpiresByType application/msword A31536000
    ExpiresByType application/x-msdownload A31536000
    ExpiresByType image/gif A31536000
    ExpiresByType application/x-gzip A31536000
    ExpiresByType image/x-icon A31536000
    ExpiresByType image/jpeg A31536000
    ExpiresByType application/vnd.ms-access A31536000
    ExpiresByType audio/midi A31536000
    ExpiresByType video/quicktime A31536000
    ExpiresByType audio/mpeg A31536000
    ExpiresByType video/mp4 A31536000
    ExpiresByType video/mpeg A31536000
    ExpiresByType application/vnd.ms-project A31536000
    ExpiresByType application/vnd.oasis.opendocument.database A31536000
    ExpiresByType application/vnd.oasis.opendocument.chart A31536000
    ExpiresByType application/vnd.oasis.opendocument.formula A31536000
    ExpiresByType application/vnd.oasis.opendocument.graphics A31536000
    ExpiresByType application/vnd.oasis.opendocument.presentation A31536000
    ExpiresByType application/vnd.oasis.opendocument.spreadsheet A31536000
    ExpiresByType application/vnd.oasis.opendocument.text A31536000
    ExpiresByType audio/ogg A31536000
    ExpiresByType application/pdf A31536000
    ExpiresByType image/png A31536000
    ExpiresByType application/vnd.ms-powerpoint A31536000
    ExpiresByType audio/x-realaudio A31536000
    ExpiresByType application/x-shockwave-flash A31536000
    ExpiresByType application/x-tar A31536000
    ExpiresByType image/tiff A31536000
    ExpiresByType audio/wav A31536000
    ExpiresByType audio/wma A31536000
    ExpiresByType application/vnd.ms-write A31536000
    ExpiresByType application/vnd.ms-excel A31536000
    ExpiresByType application/zip A31536000
</IfModule>
<IfModule mod_deflate.c>
    <IfModule mod_setenvif.c>
        BrowserMatch ^Mozilla/4 gzip-only-text/html
        BrowserMatch ^Mozilla/4\.0[678] no-gzip
        BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
        BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
    </IfModule>
    <IfModule mod_headers.c>
        Header append Vary User-Agent env=!dont-vary
    </IfModule>
    <IfModule mod_filter.c>
        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
    </IfModule>
</IfModule>
<FilesMatch "\.(css|js|CSS|JS)$">
    <IfModule mod_headers.c>
        Header set Pragma "public"
        Header append Cache-Control "public, must-revalidate, proxy-revalidate"
    </IfModule>
    FileETag MTime Size
    <IfModule mod_headers.c>
        Header set X-Powered-By "Step by Step guide to speed up your VB4 (forum only)"
    </IfModule>
</FilesMatch>
<FilesMatch "\.(html|htm|rtf|rtx|svg|svgz|txt|xsd|xsl|xml|HTML|HTM|RTF|RTX|SVG|SVGZ|TXT|XSD|XSL|XML)$">
    <IfModule mod_headers.c>
        Header set Pragma "public"
        Header append Cache-Control "public, must-revalidate, proxy-revalidate"
    </IfModule>
    FileETag MTime Size
    <IfModule mod_headers.c>
        Header set X-Powered-By "Step by Step guide to speed up your VB4 (forum only)"
    </IfModule>
</FilesMatch>
<FilesMatch "\.(asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|swf|tar|tif|tiff|wav|wma|wri|xla|xls|xlsx|xlt|xlw|zip|ASF|ASX|WAX|WMV|WMX|AVI|BMP|CLASS|DIVX|DOC|DOCX|EXE|GIF|GZ|GZIP|ICO|JPG|JPEG|JPE|MDB|MID|MIDI|MOV|QT|MP3|M4A|MP4|M4V|MPEG|MPG|MPE|MPP|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|PNG|POT|PPS|PPT|PPTX|RA|RAM|SWF|TAR|TIF|TIFF|WAV|WMA|WRI|XLA|XLS|XLSX|XLT|XLW|ZIP)$">
    <IfModule mod_headers.c>
        Header set Pragma "public"
        Header append Cache-Control "public, must-revalidate, proxy-revalidate"
    </IfModule>
    FileETag MTime Size
    <IfModule mod_headers.c>
        Header set X-Powered-By "Step by Step guide to speed up your VB4 (forum only)"
    </IfModule>
</FilesMatch>
# End Browser Caching/Headers


Lazorbeam 11-03-2011 03:59 PM

I used the htaccess file and was having some issues. New posts, articles and whatnot were not showing up on the forums unless the user refreshed the page.

I had to remove gzip and html caching for these pages to show again.

Dirt Bike Addict 11-03-2011 04:09 PM

Quote:

Originally Posted by Lazorbeam (Post 2264112)
I used the htaccess file and was having some issues. New posts, articles and whatnot were not showing up on the forums unless the user refreshed the page.

I had to remove gzip and html caching for these pages to show again.

Never cache your HTML.

Gzip shouldn't cause these problems, try enabling it again without caching your HTML.

Lazorbeam 11-03-2011 04:25 PM

Quote:

Originally Posted by Dirt Bike Addict (Post 2264116)
Never cache your HTML.

Gzip shouldn't cause these problems, try enabling it again without caching your HTML.

The htaccess files provided in this thread cache html.

I removed only the html caching part, and the problem was solved. Thanks!

Edit:

Remove
AddType text/html .html .htm
ExpiresByType text/html A3600

Right?

Dirt Bike Addict 11-03-2011 04:35 PM

Quote:

Originally Posted by Lazorbeam (Post 2264122)
The htaccess files provided in this thread cache html.

I removed only the html caching part, and the problem was solved. Thanks!

Edit:

Remove
AddType text/html .html .htm
ExpiresByType text/html A3600

Right?

Here's what I use, does pretty much the same thing with a lot less lines.

*May not work on all server setups*


Code:

#Caches static files for 30 days
<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|swf|mp3|mp4|css|js|xml)$">
Header set Cache-Control "max-age=2592000, public, must-revalidate"
</FilesMatch>

#Enables compression
#SetOutputFilter DEFLATE
AddOutputFilter DEFLATE xhtml html htm php css js xml xsl txt javascript x-javascript ico



All times are GMT. The time now is 10:34 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
  • Page Generation 0.01604 seconds
  • Memory Usage 1,846KB
  • 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
  • (3)bbcode_code_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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