remove cache configs from query