Fetch resource by specifying page URL and extension