Expedited sub-resource loading
First Claim
1. A method of operating a cache node that caches content for delivery to multiple, different end user devices, the method comprising:
- receiving, at the cache node, a content request comprising a URL corresponding to a web page corresponding to an original HTML file, from an end user device of the multiple, different end user devices;
consulting a repository within the cache node to identify a first JavaScript code that is required for rendering the requested web page and obtain identification and location information for the first JavaScript code,wherein the repository maintains a listing of JavaScript codes that have been historically requested for the URL corresponding to the web page by a plurality of the multiple different end users;
identifying a required sub-resource by scanning the original HTML file to identify a reference to the required sub-resource;
obtaining the first JavaScript code and the required sub-resource; and
sending the identified original HTML file, the first JavaScript code and the required sub-resource to the end user device,wherein the original HTML file is used by the end user device to display the web page.
2 Assignments
0 Petitions
Accused Products
Abstract
Systems, methods, apparatus, and software for pre-fetching and/or pre-loading sub-resources used in rendering HTML files, web pages and the like are provided herein. Implementations include expedited sub-resource loading in which a cache node or other content delivery network component receives a first end user device request seeking a primary resource (e.g., an HTML file). Using information in the first request, the content delivery network pre-fetches one or more identified sub-resources (e.g., JavaScript code) required for rendering of the HTML file. Pre-fetched sub-resources are held by the cache node. During parsing of the HTML file by the end user device, a web browser or other application requires the sub-resource(s) and the end user device thus sends a second request to the cache node asking for the required sub-resource(s). The cache node sends the requested, pre-fetched sub-resource(s).
-
Citations
6 Claims
-
1. A method of operating a cache node that caches content for delivery to multiple, different end user devices, the method comprising:
-
receiving, at the cache node, a content request comprising a URL corresponding to a web page corresponding to an original HTML file, from an end user device of the multiple, different end user devices; consulting a repository within the cache node to identify a first JavaScript code that is required for rendering the requested web page and obtain identification and location information for the first JavaScript code, wherein the repository maintains a listing of JavaScript codes that have been historically requested for the URL corresponding to the web page by a plurality of the multiple different end users; identifying a required sub-resource by scanning the original HTML file to identify a reference to the required sub-resource; obtaining the first JavaScript code and the required sub-resource; and sending the identified original HTML file, the first JavaScript code and the required sub-resource to the end user device, wherein the original HTML file is used by the end user device to display the web page. - View Dependent Claims (2, 3)
-
-
4. A computer apparatus, comprising:
-
a processor; and a memory; wherein the computer apparatus is configured to operate a cache node in a content delivery network, the computer apparatus further comprising processing instructions that direct the cache node, when executed by the cache node, to; receive a content request from an end user device of a group of multiple, different end user devices served by the cache node, comprising a URL corresponding to a web page; identify an primary resource corresponding to the requested web page, wherein the primary resource comprises a primary resource file body; consult a repository within the cache node to identify a first JavaScript code required for rendering the requested web page and obtain identification and location information for the first JavaScript code wherein the repository maintains a listing of JavaScript codes that have been historically requested for the URL corresponding to the web page by a plurality of the group of multiple, different end user devices; identify a required sub-resource by scanning the original HTML file to identify a reference to the required sub-resource; obtain the first JavaScript code and the required sub-resource; and send the identified original HTML file, the first JavaScript code and the required sub-resource to the end user device, wherein the original HTML file is used by the end user device to display the web page.
-
-
5. A cache node that caches content for delivery to multiple,
different end user devices, the cache node comprising: -
a storage system configured to cache web page content comprising an original HTML file corresponding to a web page, wherein the original HTML file comprises an HTML file body including a reference to a first JavaScript code that is required for rendering the web page; a repository that maintains a listing of JavaScript codes that have been historically requested for a URL corresponding to the web page by a plurality of the multiple, different end user devices; responsive to a content request from an end user device for the web page, a network interface and processing circuitry configured to; receive the content request from the end user device; identify the first JavaScript code that is required for rendering the web page by consulting the repository; identify a required sub-resource by scanning the original HTML file to identify a reference to the required sub-resource; obtain the first JavaScript code and the required sub-resource; send the identified original HTML file, the first JavaScript code and the required sub-resource to the end user, wherein the original HTML file is used by the end user device to display the web page. - View Dependent Claims (6)
-
Specification