![]() |
Please note when you install this mod the first view of any page will then put the item into the cache. That means those that just installed it and got more queries, vbulletin needs to put its data back into the cache after a clear.
Also on a side note if possible this should automatically use the pre built in data prefix that is in the config.php file. |
ssslippy, I use a seperate data prefix just to ensure there's no collision with vBulletin :)
veenusisthebest, Regarding #1, I'm looking into caching the forums now, it'd probably be a timed cache like the WOL will be, so the query can only be executed once every minute or hour if you like. Ofcourse the issue will be for those without auto flush cache due to XCache limitations like yourself may see stale data, since the last post info is updated regularly. That said, if you put the timed cache for forums to 30 seconds, then the last post info data would ofcourse only have a maximum potential of being stale data for 30 seconds, and does reduce another query on several pages. As for number 2, the statistics don't require a query as vBulletin already handles this with the datastore, assuming you have a decent datastore method (XCache/Memcache, etc..) setup with vBulletin then it's no problem, the only other query that might occur is when showing events from the calendar on the homepage, but these too are already cached by vBulletin. Effectively the forum homepage only queries several things with the new version: Session, Userinfo, Forums and Moderators. This is only 4 queries, and ofcourse there are two other queries that execute as shutdown queries that occur on all vB pages (mostly, anyway). If I can time cache the forums, and moderators part, the forumhome would go down to 2 queries (and the 2 hidden shutdown queries), which would be great :) |
Quote:
|
Quote:
And if I edit a template, how would I be able to view the change when the cache is not being cleared. Quote:
Thanks |
The solution would only be removing XCache authentification, or just going to Flush Cache each time you change anything with styles, phrases or templates. Ofcourse this still applies with other cache methods as vB Optimise does not always automatically refresh cache when data is updated, just currently on the common methods: edit templates, style variables, css information.
|
Before
* Page Generation 0.22566 seconds * Memory Usage 16,396KB * Queries Executed 33 (?) After * Page Generation 0.19917 seconds * Memory Usage 16,186KB * Queries Executed 29 (?) Great work Deceptor, nominated for MOTM :) |
Quote:
Optimizing your forum to reduce it to a considerable number would help you more than this mod :) |
Quote:
|
Quote:
Looking forward to the new release, Deceptor. :) |
1.2.0 released :) Check the top post for details on bug fixes and additions :)
|
i just installed 1.2.0 thanks for the new version
what setting do you recommend i use for Cache Forumhome WOL? |
I personally would use between 30-60 seconds, ofcourse the higher the number the more stale the data becomes, but at a cost of better performance.
|
Hi
After upgrade i get this DB error now, its to do with the WOL part of your script Code:
Database error in vBulletin 3.7.4: |
Bashy, are you using the homewol? Try disabling that to see if it works - be aware this is untested on vB 3.7, so I'm not sure if it will always work for that version.
|
just wow!
Loving the new Optimal settings check, I had all of them optimal already ;) Profile bug down, can see another WOL query down. Cool Template problem solved ONLY when XCache Authentification is ON. Now, I tried to edit a template, the change did not show. Then I checked it again in a minute or two and it shows the edit fine. How did it show when I did/could not flush the cache ? Thanks a lott.. You're one real php guy I had ever seen, this mod is going to beat the install counts of ibproarcade for sure. :) |
im using 1.2.0 and the WOL with vb 3.7 and its working fine :)
|
veenuisthebest,
The system maybe have found a corrupted template and pulled it again from the database to cache, which is part of the active sector of vB Optimise to ensure data is intact. Either that -or- your XCache has a low TTL (time to live) setting so cache is dropped every 5 minutes or so. Glad you like the additions, I'll keep aiming to reduce the forum home queries as it's the biggest impact of performance being the most popular page visited on a forum, statistically speaking anyway :) |
ooooooooooooooooo nice update D...
WOL set for 60 secs :) Had to optimize (or change).. Store CSS Stylesheets as Files,Save Albums as Files,Save Avatars as Files.. Another 3 queries gone on forumhome:D.. Any faster and my forums will take-off LOL |
Glad it's working great for you hibees :)
|
My forum is so fast now its crazy! this has to be the best mod ever created!!
|
Quote:
Once I suss out eAccelerator then whoooffffffffff take off,not that my forums were slow as on a dedicated server with dual core cpu and 2gb ram but even at that this makes a difference.. I may not bother trying to get eAccelerator to work althou now i'm interested to see if it would improve it further.. Page Generation 0.19055 seconds on forumhome is just terrible :eek::cool::up: Quote:
|
Personally I'd recommend using XCache over eAccelerator, easier to install and much better in my opinion :)
|
Quote:
Its fine if cache is dropped in few minutes. Infact, this solves out a big problem for me of not showing stale data now. Loving vBulletin more from now on, just because of you and your vBoptimise. This is actually the BESTEST MODIFICATION EVER CREATED for vBulletin. I just can't stop thanking you deceptor, this has driven me crazyyy lol. Thanks a lottt... |
Yup works no problem with 3.7. Excellent work.
|
Quote:
|
1 Attachment(s)
WoW incredible I jsut install it and I just cna feel the extra speed :) Could anyone tell me how to enable the Query number and execution time at the bottom of the page? I can't find the option. Would be cool to have quantitative data on how much this mod rocks :D
Installed and MOTD :DDDD In 3.7.4 I found a curios bug which is not really a big deal. It you hace Store CSS as File disabled, and you try to enable it with this mod enabled only what is shown in the picture happens. Once disabled, you may enable Store as CSS and then enable the mod. Does this happen in 3.8? Love it and thx mate :) |
Quote:
|
Nolf - I can confirm it works fine on my 3.8 install.
As for the debug info, it's this in your config.php: Code:
$config['Misc']['debug'] = 1; Thanks. |
Vitaly I don't get a db error with WOL enabled :O (3.7.4)
Thx Deceptor :) just love the hack ^^ |
WOL .It work fine on my v3.7.2 board
Have anyone compare between the 1.0.2 and 1.2.0 version, my board used 1.0.2 it ran faster this morning and server load reduce from 0.67 to 0.45 , the 1.2.0 fast but the serverload reduce about half of the first one. The only problem i got is every time i flush the cache it just never stop ( but it does clear the cache ) Deceptor: Thank a lot for this great plugin . My spec: mysql 5.0.58 php 5.2.6 xcache v1.2.2 |
lazee, are you saying vB Optimise 1.2.0 made it slower than 1.0.2, or that 1.2.0 didn't make as much difference ontop of what 1.0.2 already did?
As for flush cache, what cache method are you using? |
Quote:
The 1.0.2 server load never over 0.85 when my board pass 600 user and guest The 1.2.0 server load get to 0.95 sometime spike over 1.00 when it 530 user and guest I used Xcache for cache method. |
lazee - Are you using the new cache options available from 1.2.0? Like the ability to cache homepage wol and datastore methods?
I'm unable to confirm 1.2.0 adds more load than 1.0.2, especially given the impact that it reduces queries and page generation time further. In either case, if your forum is that active, a change in load from 0.85 to 0.95 is minimal, and given the number of background processes a server does it'd be hard to tell if vB Optimise caused the extra 0.1 server load, you're welcome to test however, I'd recommend watching load over the next few days and seeing if there are any changes. Also check out your vB debug info, to verify cache is working correctly, and queries are being reduced :) |
Quote:
Quote:
I will watch couple day and see how the load difference and and turn on the debug. Btw, it help a lot at server load compare to before i install this optimize, thank you! |
Gotcha, and I'm glad to hear that overall it is helping you, certainly the direction I'm aiming for here :)
|
I went to activate this modification and got this error:
Quote:
|
SBlueman - Try this patch:
Open ./includes/class_activecache.php, Find: Code:
function set(){} Code:
function connect() |
Quote:
Code:
Database error in vBulletin 3.7.4: Just enabled from admincp WOL=60 & refreshed main page. Other pages are ok. Anyway, I'm not disapponted. WOL feature is not critical. Now vboptimise effect is not noticeable at my site, but will have to wait for middle of monday to compare. |
Vitaly, if you disable vBSEO and enable the homepage WOL, does the error go away at all? :)
|
Looks like it saved....now.....what do I need to do to see if it's working properly? I am at http://gridironfans.com/
|
All times are GMT. The time now is 11:58 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|