add query cache,but cache data has bug