vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   General Queries and GZIP tips (https://vborg.vbsupport.ru/showthread.php?t=172955)

Dorign 03-13-2008 09:43 PM

General Queries and GZIP tips
 
I run a very small forum (64 registered members, only 15 of them post regularly) that gets a very low amount of traffic. I'm on a webhost that can be rather slow with executing PHP (www.ixwebhosting.com), but it is all I can afford.

I have a very small amount of mods installed on my forum, as well.
www.ev0lnetwork.net

Currently I have GZIP set to 1. Should I set it higher?

Also, how can I tell how many queries are being executed, and how can I improve the speed of my forum?

Thank you.

SEOvB 03-13-2008 09:51 PM

You could install Microstats to see how many queries are being ran on page or enable debug mode for a short period of time.

Leave your gzip level at 1

Dorign 03-13-2008 09:56 PM

I tried installing Microstats but it said my version was too high. I tinkered with the version requirement and got it to install, enabled Microstats, and still couldn't find the output anywhere (definitely not at the footer of the page like the screens were showing).

SEOvB 03-13-2008 10:23 PM

did you do the template edit?

I've got it installed on 3.7b6 running with no problems.

Dismounted 03-15-2008 06:34 AM

Do you have mod_deflate installed? If you do, disable the vBulletin GZIP feature.

Dorign 03-16-2008 03:44 PM

Not sure what mod_deflate is...?

In my PHP info, it shows..

HTTP_ACCEPT_ENCODING gzip, deflate

further down

Accept-Encoding gzip, deflate

even further down

_SERVER["HTTP_ACCEPT_ENCODING"] gzip, deflate

So would this mean I should disable gZip? Why? Does it improve speed?

Dismounted 03-18-2008 05:47 AM

mod_deflate is an Apache module which automatically gzips output. Open up your PHP info, and search for "mod_deflate".

Dorign 03-19-2008 11:49 PM

Nope, no actual "mod_deflate" is found, just what I stated before, which is "gzip, deflate."

Dismounted 03-20-2008 10:27 AM

Okay, that is good, as you should not have vBulletin's gzip feature and mod_deflate enabled at the same time. As this causes "double processing" and slows down your server. Also, leave your gzip level at 1, any more is a waste of server resources.

Dorign 03-21-2008 10:04 PM

I've added a template compression module but other than that, I'm at a loss to keep the forum speedy. Then again, it is fairly speedy when the actual server itself isn't being a pain. I hate IXwebhosting :(

stanleys 03-29-2008 01:51 AM

Which is more efficient? vBulletin's internal gZip option or mod_gzip or mod_deflate?

Dismounted 03-29-2008 09:04 AM

mod_gzip = mod_deflate ;)

The only difference is that mod_gzip is used in Apache 1.3, while mod_deflate is used in Apache 2.x.

They are both fairly efficient (if you have set it up correctly).

Jase2 03-29-2008 11:27 AM

If your experiencing slow speeds with your current host, try another webhost.

I use LunarPages -- there shared servers are cheap, affordable and reliable! www.lunarpages.com

Regards Jason :)

valdet 03-29-2008 04:56 PM

I have looked through my phpinfo for deflate and I found it on three places:

Can someone please advise if this is the same as mod_deflate as Dismounted has been suggesting. If yes then is it safe for me to disable gzip in vB settings.?


Here are my settings from phpinfo file:
Code:

Apache Environment

HTTP_ACCEPT_ENCODING gzip,deflate


HTTP Headers Information

Accept-Encoding: gzip,deflate


PHP Variables

_SERVER["HTTP_ACCEPT_ENCODING"]gzip,deflate

Thanks

Jase2 03-29-2008 05:15 PM

No, I believe that is different.

Regards Jason :)

snakes1100 03-29-2008 05:37 PM

That is zlib, which can be set in php.ini and when set to 1 will deflate/compress ALL pages on a server if they are supported.

It is more efficient to deflate with apache.


All times are GMT. The time now is 07:59 PM.

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.01135 seconds
  • Memory Usage 1,741KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (16)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete