A method including retrieving application code of a webpage comprising a core code JavaScript bundle and a dynamic JavaScript bundle. The method transmitting to a user device of a user a service worker and the core code JavaScript bundle, wherein the core code JavaScript bundle is transmitted from the cache of the content delivery computer and is stored in a long-term cache memory of the user device. Facilitating a display of the webpage in a browser of the user device using the custom application code JavaScript bundle, and the core code JavaScript bundle. Other embodiments are disclosed.
Legal claims defining the scope of protection, as filed with the USPTO.
1. A system comprising: one or more processors; and one or more non-transitory computer-readable media storing computing instructions configured, when executed by the one or more processors, to perform: retrieving application code of a webpage from a website, the application code comprising a core code JavaScript bundle and a dynamic JavaScript bundle; storing the core code JavaScript bundle and the dynamic JavaScript bundle in a cache of a content delivery computer, wherein the dynamic JavaScript bundle comprises custom application code to render the webpage; transmitting to a user device of a user (i) a service worker and (ii) the core code JavaScript bundle, wherein the core code JavaScript bundle is transmitted from the cache of the content delivery computer and is stored in a long-term cache memory of the user device; receiving, via a main thread from the user device to an application server, a request from the user device to view the webpage on the user device; and in response to receiving the request: concurrently with the main thread from the user device to the application server, determining, using the service worker via a second thread from the service worker to the long-term cache memory of the user device, whether the core code JavaScript bundle for the webpage is stored in the long-term cache memory of the user device; when the service worker determines that the core code JavaScript bundle for the webpage is stored in the long-term cache memory of the user device, transmitting, via the main thread from the user device to the content delivery computer, the dynamic JavaScript bundle for the webpage from the content delivery computer to the user device; and facilitating a display of the webpage in a browser of the user device using (i) the dynamic JavaScript bundle, as transmitted from the content delivery computer to the user device, and (ii) the core code JavaScript bundle, as stored in the long-term cache memory of the user device, wherein the core code JavaScript bundle and the dynamic JavaScript bundle are combined to be used for client-side rendering of the webpage.
2. The system of claim 1 , wherein the computing instructions are further configured, when executed by the one or more processors, to perform: facilitating client-side rendering of multiple webpages of the website based on using the core code JavaScript bundle stored in the long-term cache memory of the user device.
3. The system of claim 1 , wherein the computing instructions are further configured, when executed by the one or more processors, to perform: periodically updating, using the service worker via the second thread from the user device to the content delivery computer, each of one or more core code libraries in the core code JavaScript bundle stored in the long-term cache memory of the user device.
4. The system of claim 1 , wherein the computing instructions are further configured, when executed by the one or more processors, to perform: periodically updating the custom application code in the dynamic JavaScript bundle stored in the cache of the content delivery computer.
5. The system of claim 1 , wherein the computing instructions are further configured, when executed by the one or more processors, to perform: when the service worker determines that the core code JavaScript bundle for the webpage is not stored in the long-term cache memory of the user device: requesting from the content delivery computer, using the service worker via the second thread from the user device to the content delivery computer, the core code JavaScript bundle to be used in the client-side rendering of the webpage.
6. The system of claim 5 , wherein: requesting from the content delivery computer, using the service worker via the second thread from the user device to the content delivery computer, the core code JavaScript bundle further comprises: retrieving a first core code JavaScript bundle.
7. The system of claim 1 , wherein the computing instructions, when executed by the one or more processors, are further configured to perform: in response to receiving the request from the user device, transmitting application code to the user device, wherein the application code comprises information comprising a location in the content delivery computer of the core code JavaScript bundle and the dynamic JavaScript bundle associated with rendering the webpage, as requested.
8. The system of claim 1 , the computing instructions, when executed by the one or more processors, are further configured to perform: in response to receiving the request from the user device, transmitting application code to the user device, wherein the application code comprises information comprising an identity of the core code JavaScript bundle and the dynamic JavaScript bundle in the content delivery computer, wherein the core code JavaScript bundle and the dynamic JavaScript bundle are associated with rendering the webpage, as requested.
9. The system of claim 1 , wherein transmitting to the user device of the user (i) the service worker and (ii) the core code JavaScript bundle comprises: transmitting, via the main thread from the user device, the service worker to the user device of the user.
10. A method being implemented via execution of computing instructions configured to run at one or more processors and stored at one or more non-transitory computer-readable media, the method comprising: retrieving application code of a webpage from a website, the application code comprising a core code JavaScript bundle and a dynamic JavaScript bundle; storing the core code JavaScript bundle and the dynamic JavaScript bundle in a cache of a content delivery computer, wherein the dynamic JavaScript bundle comprises custom application code to render the webpage; transmitting to a user device of a user (i) a service worker and (ii) the core code JavaScript bundle, wherein the core code JavaScript bundle is transmitted from the cache of the content delivery computer and is stored in a long-term cache memory of the user device; receiving, via a main thread from the user device to an application server, a request from the user device to view the webpage on the user device; and in response to receiving the request: concurrently with the main thread from the user device to the application server, determining, using the service worker via a second thread from the service worker to the long-term cache memory of the user device, whether the core code JavaScript bundle for the webpage is stored in the long-term cache memory of the user device; when the service worker determines that the core code JavaScript bundle for the webpage is stored in the long-term cache memory of the user device, transmitting, via the main thread from the user device to the content delivery computer, the dynamic JavaScript bundle for the webpage from the content delivery computer to the user device; and facilitating a display of the webpage in a browser of the user device using (i) the dynamic JavaScript bundle, as transmitted from the content delivery computer to the user device, and (ii) the core code JavaScript bundle, as stored in the long-term cache memory of the user device, wherein the core code JavaScript bundle and the dynamic JavaScript bundle are combined to be used for client-side rendering of the webpage.
11. The method of claim 10 , further comprising: facilitating client-side rendering of multiple webpages of the website based on using the core code JavaScript bundle stored in the long-term cache memory of the user device.
12. The method of claim 10 , further comprising: periodically updating, using the service worker via the second thread from the user device to the content delivery computer, each of one or more core code libraries in the core code JavaScript bundle stored in the long-term cache memory of the user device.
13. The method of claim 10 , further comprising: periodically updating the custom application code in the dynamic JavaScript bundle stored in the cache of the content delivery computer.
14. The method of claim 10 , further comprising: when the service worker determines that the core code JavaScript bundle for the webpage is not stored in the long-term cache memory of the user device: requesting from the content delivery computer, using the service worker via the second thread from the user device to the content delivery computer, the core code JavaScript bundle to be used in the client-side rendering of the webpage.
15. The method of claim 14 , wherein requesting from the content delivery computer, using the service worker via the second thread from the user device to the content delivery computer, the core code JavaScript bundle further comprises: retrieving a first core code JavaScript bundle.
16. The method of claim 10 , further comprising: in response to receiving the request from the user device, transmitting application code to the user device, wherein the application code comprises information comprising a location in the content delivery computer of the core code JavaScript bundle and the dynamic JavaScript bundle associated with rendering the webpage, as requested.
17. The method of claim 10 , further comprising: in response to receiving the request from the user device, transmitting application code to the user device, wherein the application code comprises information comprising an identity of the core code JavaScript bundle and the dynamic JavaScript bundle in the content delivery computer, wherein the core code JavaScript bundle and the dynamic JavaScript bundle are associated with rendering the webpage, as requested.
18. The method of claim 10 , wherein transmitting to the user device of the user (i) the service worker and (ii) the core code JavaScript bundle comprises: transmitting, via the main thread of the user device, the service worker to the user device of the user.
19. The system of claim 6 , wherein the first core code JavaScript bundle is cached in the long-term cache memory of the user device.
20. The method of claim 15 , wherein the first core code JavaScript bundle is cached in the long-term cache memory of the user device.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
January 31, 2019
September 1, 2020
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.