make query result cache able to be disabled, still needs config