1. A method of pre-fetching resources, comprising: scanning an HTML document to discover a script by a first process executing in a processor of a computing device; speculatively executing the discovered script by a second process to discover resources not expressly referenced in the script or the HTML document; speculatively pre-fetching resources by issuing a request to download the discovered resources; and discarding results generated by speculatively executing the discovered script.