working on 2level cache and query cache