Enable the QueryCompiler to cache the command so it will be reused many times.