DB Cache Reloaded version: 2.02
Cache Filter options: _postmeta
I am confuse here, 'cause it looks like the custom fields still got cache by the plugin. I use get_post_custom function in my theme to collect all the custom fields.
Could you please explain to me how to prevent caching for custom fields?
thanks in advance.
the cache filter working fine now after I edit file db-module.php line 829 into:
elseif ( // For hard queries - skip them
!preg_match( "/\\s*(JOIN | \* |\*\,)/si", $query ) || (
// User-defined cache filters
isset( $config['filter'] ) && ( $config['filter'] != '' ) &&
preg_match( "/\\s*(".$config['filter'].")/si", $query ) )) {
$dbcr_cacheable = false;
}
kdeathboo
Member
Posted 2 years ago #
Thank you! This solved the problem with wp-postviews. The counter is now working well!
Thank you, but I would like to find a solution without file editing, because changes do not save after plugin update.