Rewrites the resource fetching slightly