vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Board Optimization - [DBTech] vB Optimise 2.0.1 (Lite) (https://vborg.vbsupport.ru/showthread.php?t=199207)

DNG 06-15-2009 03:23 AM

Going to keep an eye on this one

Wheemer 06-21-2009 01:34 AM

Quote:

Originally Posted by KevinL (Post 1824434)
Un-check cache phrases. It has been an issue with the mod. It has actually been covered in the thread. By doing so will not harm anything...

Is there any other way to fix this issue? I want to keep the most benifits of vboptimize...

But this problem I am seeing too, the people can't tell who sent the emails for registration.

thincom2000 06-21-2009 08:58 PM

For me (on 3.8.3), this only made a generation time and memory improvement (5-10 milliseconds) with cache styles and cache custom datastore.

Even though I have Xcache installed this option doesn't seem to work, so I had to use File Cache.

Caching templates actually slowed my forum by about 40 milliseconds.
Caching phrases added about 20 queries on every page load... so not using that.

thincom2000 06-24-2009 03:34 PM

Uninstalling this made an even more noticeable difference than 5-10 milliseconds.

Sc00by22 06-25-2009 10:50 PM

Thanks and installed!

My forum is 2x the speed of what it used to be. Thank you so much!

rossco_2005 06-27-2009 12:35 PM

I'm using this on my forum. Installed it during the week.
I am just using the WOL, styles and custom datastore cache (which I make heavy use of in some of my scripts :)).

The phrase cache I've read is broken so I turned it off.

As for the template cache, I noticed that when I edit templates and save them they don't get updated in the cache. Any fix or this? I'm using eaccelerator.

nascartr 06-27-2009 05:28 PM

Quote:

Originally Posted by rossco_2005 (Post 1838379)
I'm using this on my forum. Installed it during the week.
I am just using the WOL, styles and custom datastore cache (which I make heavy use of in some of my scripts :)).

The phrase cache I've read is broken so I turned it off.

As for the template cache, I noticed that when I edit templates and save them they don't get updated in the cache. Any fix or this? I'm using eaccelerator.


Did you try flushing the cache after the change?

rossco_2005 06-27-2009 09:04 PM

Quote:

Originally Posted by nascartr (Post 1838500)
Did you try flushing the cache after the change?

I found that the problem was that I don't have permission to use the flush function.
An easy way to fix this I found was to write my own flush function.

If anyone wants it here it is.
Line 359 in file class_activecache_methods.php is where the eAccelerator Flush function starts.
Replace:
PHP Code:

function flush($silent false)
    {
        
$success '__vBOptimise_EA_Test_' rand(3,999) . '__';

        
$this->set('vBOptimiseTest'$success);

        @
eaccelerator_clear();

        if (
$this->fetch('vBOptimiseTest') == $success)
        {
            
print_cp_message('vB Optimise: Your eAccelerator requires you to specify permission to this directory to allow vB Optimise to clear your cache. For more information please visit <a href="http://bart.eaccelerator.net/doc/phpdoc/eAccelerator/_info_php.html#functioneaccelerator_clear" target="_blank"></a>.');
        }
    } 

With:
PHP Code:

function flush($silent false)
    {
        foreach (
eaccelerator_list_keys() AS $cacheitem)
        {
            
$key = ( strpos($cacheitem['name'], ':') === substr($cacheitem['name'], 1) : $cacheitem['name'] );
            
eaccelerator_rm($key);
        }
    } 

THIS IS FOR EACCELERATOR USERS ONLY

rossco_2005 06-27-2009 09:08 PM

Does anyone want to tell me what exactly are all of the problems with cache phrases?
I can hopefully fix some or all of them to make this part of the hack useful for all.
Seeing as there's no support from the mod author... :(

nascartr 06-28-2009 02:03 AM

Quote:

Originally Posted by rossco_2005 (Post 1838591)
Does anyone want to tell me what exactly are all of the problems with cache phrases?
I can hopefully fix some or all of them to make this part of the hack useful for all.
Seeing as there's no support from the mod author... :(

One of the problems was that there would be no titles on emails sent from the forum. Cached phrases would not work with emails.

Also, on error pages, you have the site title at the top of the error box normally, with the cached phrases turned on there would sometimes just be a dash where the site title should be.


All times are GMT. The time now is 06:35 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.01948 seconds
  • Memory Usage 1,754KB
  • 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
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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