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.
Can you tell more about how to disable that tracking transient? Thanks.
I’d like to know more too?
So line 27 is this one, right?
$this->_groups = get_option('ngg_transient_groups', array('__counter' => 1));