Performance optimization for YapCache