Implement cache validator