Add mirror resource prefetch function.