Use on demand query_cache also in import deployment