Clear memcache object cache on facet page (experimental)

<?php
/** deletes post-queries cache keys before get so that they
 ** have to be set again
 ** only for using object cache with memcache and automattic memcached plugin
 ** https://github.com/Automattic/wp-memcached/
 **/
add_filter( 'pre_wp_cache_get', function( $value, $key, $group, $force ) {
    if ( function_exists( 'FWP' ) && is_object( FWP()->helper ) && 'blog' == FWP()->helper->get_uri() && // change 'blog' to page facet is used on
        "post-queries" == $group  && false === strpos( $key, 'get_page_by_path' ) ) {
			// delete this cache key
            wp_cache_delete( $key, "post-queries" );

    }
    return $value;
}, 10, 4 );