SPECULATIVE RESOURCE PREFETCHING VIA SANDBOXED EXECUTION
First Claim
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.
2 Assignments
0 Petitions
Accused Products
Abstract
The aspects include browser systems and methods of loading/rendering a webpage by preprocessing scripts within the web document (HTML page) in a sandboxed script engine to discover resources not explicitly requested in the web document so such resources can be pre-fetched and downloaded speculatively. The sandboxed execution of scripts and downloading of discovered resources may proceed in parallel with the performance of other browser operations (e.g., HTML parsing) and other resource requests. The sandboxed script engine may be isolated or separated from the other browser components. The sandboxed script engine may operate to speedup the process of identifying resources inconsistent with standard script execution processes.
80 Citations
40 Claims
-
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. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A computing device, comprising:
-
means for scanning an HTML document to discover a script by a first process; means for speculatively executing the discovered script by a second process to discover resources not expressly referenced in the script or the HTML document; means for speculatively pre-fetching resources by issuing a request to download the discovered resources; and means for discarding results generated by speculatively executing the discovered script. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
-
21. A computing device, comprising:
a processor configured with processor-executable instructions to perform operations comprising; scanning an HTML document to discover a script by a first process; 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. - View Dependent Claims (22, 23, 24, 25, 26, 27, 28, 29, 30)
-
31. A non-transitory computer readable storage medium having stored thereon processor-executable software instructions configured to cause a processor to perform operations for pre-fetching resources, the operations comprising:
-
scanning an HTML document to discover a script by a first process; 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. - View Dependent Claims (32, 33, 34, 35, 36, 37, 38, 39, 40)
-
Specification