Adding settings and query cache to setup