• Resolved homu9

    (@homu9)


    Hi,
    Our server is filling up with MySQL binlog.
    After checking the log, we find that it’s updating ‘photocrati_cache_tracker’ frequently.
    The option is about 1M, so the log increases quickly.

    Where could we turn this option off or shrink it or make it update less often?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Benjamin

    (@benjaminowens)

    Hi @homu9

    NextGEN Gallery groups its transients, so that it is possible to clear just rendered admin page cache without affecting the frontend display caches. Our method for flushing transient groups normally works by directly querying the wp_options table based on the option_name column, but that isn’t available when an external object cache is active like memcache or redis.

    So the nextgen-gallery/non_pope/class.photocrati_transient_manager.php file maps the group transients in the photocrati_cache_tracker option whenever the global $_wp_using_ext_object_cache variable is true. That tracking transient should only be changed if new transients have been set, but that could still be substantial on a large enough site.

    There is not presently a method to disable that feature other than editing the above file and commenting line 27. There really should be a way to do so however, so I will add a new constant in NextGEN 3.19 (which should be released on the 19th) that can be used to disable that tracking transient.

    Thread Starter homu9

    (@homu9)

    Thanks for reply!

    Can you tell more about how to disable that tracking transient? Thanks.

    inside83

    (@inside83)

    I’d like to know more too?
    So line 27 is this one, right?
    $this->_groups = get_option('ngg_transient_groups', array('__counter' => 1));

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘What does ‘photocrati_cache_tracker’ do?’ is closed to new replies.