adds ability to enable the query cache after being disabled