Systems and methods for single page application server-side renderer
AssigneeCapital One Services, LLC
InventorLiju Mathews
Life of this patent
Estimating the term…
Abstract
In certain embodiments, single-page application server-side rendering may be facilitated. In some embodiments, a request related to a single-page web application may be obtained. A determination of whether the request is a crawler request may be effectuated. In response to determining that the request is a crawler request, a server-side renderer may generate a static page in connection with the request from the crawler. In some embodiments, web assets may be obtained from one or more databases via the server-side renderer, and the server-side renderer may generate the static page based on the web assets. The static page may then be provided as a response to the request.
Claims20
A system for facilitating single-page application server-side rendering, the system comprising:
- a server system comprising one or more processors and memory storing program instructions that, when executed by the one or more processors, cause the server system to perform operations comprising:
- in response to determining that a request from a crawler comprising a reference related to a single-page web application is a crawler request, causing a server-side renderer to generate a static page in connection with the request from the crawler by:
- (i) obtaining, via the server-side renderer, web assets from one or more databases and
- (ii) generating, via the server-side renderer, the static page based on the web assets;
- providing, to the crawler, the static page as a first response to the request;
- and
- in response to determining that a second request from a client device comprising a second reference related to the single-page web application is not a crawler request, providing the web assets to be received by the client device in lieu of causing the server-side renderer to generate a corresponding static page in connection with the second request from the client device, wherein the client device performs client-side rendering based on the web assets.
A method for facilitating single-page application server-side rendering, the method comprising:
- in response to determining that a request from a crawler comprising a reference related to a single-page web application is a crawler request, causing a server-side renderer to generate a static page in connection with the request from the crawler by
- (i) obtaining, via the server-side renderer, web assets from one or more databases and
- (ii) generating, via the server-side renderer, the static page based on the web assets;
- providing the static page as a response to the request;
- and
- in response to determining that a second request from a client device comprising a second reference related to the single-page web application is not a crawler request, providing web assets to be received by the client device in lieu of causing the server-side renderer to generate a corresponding static page.
A non-transitory computer-readable media comprising instructions that, when executed by one or more processors, cause operations comprising:
- in response to determining that a request from a crawler comprising a reference related to a single-page web application is a crawler request, causing a server-side renderer to generate a
- static page in connection with the request from the crawler by:
- (i) obtaining, via the server-side renderer, web assets from one or more databases, and
- (ii) generating, via the server-side renderer, the static page based on the web assets;
- providing the static page as a first response to the request;
- and
- in response to determining that a second request from a client device comprising a second reference related to the single-page web application is not a crawler request, providing web assets to be received by the client device in lieu of causing the server-side renderer to generate a corresponding static page.
Dependencies are inferred from the claim text.