![]() |
This hack is giving me hope as my very large board often succumbs to slow page loads during very busy times. I just read thru every post in this thread as well as the old 3.5.x thread and there is not a whole lot of success stories listed.
Has anyone noticed significant speed ups on big boards? I would love to hear some specifics on this before I install. I am currently running eAccel so this hack might be a good fit for me. BTW the support from orban is phenomenal. Props. |
Quote:
Quote:
|
Quote:
|
Quote:
|
Quote:
This "hack" has made our board a LOT faster, and it's really appreciated. We're running it over NFS, and at first, since NFS doesn't support file locks, we were having some problems, since 0-byte files were being created. However, I found that a crude hack to fix that problem worked well... And for others who have the same problem, here's the crude hack that will fix it: Replace the following line (around line 29 in 1.03): Code:
if (file_exists($templatefile)) Code:
if (file_exists($templatefile) && filesize($templatefile) != 0) Anyhow, that will fix the little problem created by file-locking if you're running NFS and getting zero-byte files. And I'd HIGHLY recommend this to anyone who's been watching their slow-query log on their SQL server and getting frustrated with how that damn "SELECT title, template" keeps showing up in their logs. Get it, install it, your worries are over. As for the datastore, I'd highly recommend that you get memcached set up and installed, that will provide a HUGE boost as well. :) |
Quote:
Orban, can you comment on this? ^^ |
What you wanna know :)
The file_exist problem is just with NFS because it often doesn't support file locking. The memcached datastore has nothing to do with this addon, but I'd recommend it, too. |
Ths is nice... I have only one problem... I use this: https://vborg.vbsupport.ru/showthread.php?t=122594
But with the PLugin Based Template Cache on, the table with the "users who read the thread" doesn't shows. Does anybody knows how could I use both plugins at the same time? |
You have to exclude SHOWTHREAD from being cached (in the options)
OR edit the "showthread_getinfo [Display Thread Readers (3)]" plugin and change $vbulletin->templatecache['SHOWTHREAD'] = str_replace($vbulletin->options['text_wrt'], $vbulletin->options['text_wrt'].$vbulletin->templatecache['Display_Readers'],$vbulletin->templatecache['SHOWTHREAD']); to eval('$wrt_template = "' . fetch_template('Display_Readers') . '";'); and then edit the "SHOWTHREAD" template and add $wrt_template after "<!-- end currently active users -->" so you end up with "<!-- end currently active users --> $wrt_template" The second part is untested and if you don't know PHP/vB template system don't try this, but the performance will be a lot better. |
Thanks! I edited the plugin and SHOWTHREAD and works fine!
|
All times are GMT. The time now is 11:00 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:
|