The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
GZIP being more selective
Gizp output improves response times greatly with my rather remote server. Unfortunately at busy periods it kills the CPU and I have had to turn it off.
What I want is a way to have it partially on. One or more of these: 1 - On when CPU load is under xx % and automatically Off above that to stop the CPU meltdown. 2 - On all the time for admin/moderators and maybe members and OFF for guest users. 3 - On by particular user or forum or whatever. I think option 2 might be easy to hack - is there a script where the GIZP CP option is examined and I could easily add a test for usergroup? Can someone code this up (I am not a PHP man). Thanks. The main aim is to let me have GZIP on for key users even if all the users can't have it on as the CPU gets overloaded. |
#2
|
|||
|
|||
why do you want to turn the GZIP off for the guests ???
|
#3
|
|||
|
|||
Because my CPU gets overloaded. If 40% of my users are guests I can reduce the effect GZIP is having by 40% BUT still give the members the improved response times.
Half a loaf is better than nothing. At present no-one can benefit as the CPU load is too high, I want some of the users to have it, but not all (to conserve the server resources). |
#4
|
|||
|
|||
Come on - can't someone give me a clue where this is coded?
I mean have you experienced the repsonse time improvement with GZIP - it is really worth having, but for all users it may kill your server (it did mine). |
#5
|
|||
|
|||
PLEASE help on this guys - I can see the GZIP code in the functions.php - but I am no hacker - BUT I can imagine it would only be a one line change to check for a certain user groupid before allowing GZIP to proceed.
This way moderators could get the speed of GZIP without killing the server by all users having it! Think about it - this would help a lot of you out there. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|