# US 2021/0081464 A1 · Crawlability of single page applications

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0081464 A1
- Document ID: US20210081464A1
- Status: Published application
- Kind: A1
- Application number: 17/009,808
- Filed: 2020-09-02
- Published: 2021-03-18
- Earliest claimed: 2019-09-18
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Dieter Buehler; Carsten Leue; Uwe Karl Hansmann
- Web page: https://patentgrep.com/patent/US20210081464A1

## CPC

- G06F 16/951: Indexing; Web crawling techniques
- G06F 16/958: Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A computer-implemented method for enabling static markup crawlability for a web application dynamically updating web pages client-side may be provided. The method comprises providing a web application identifiable by a web address comprising both, a static content block and dynamic content, and generating a static HTML page and pre-rendering the static content block of the web application such that at least a portion of static content of the web application is crawlable.

## Claims

### Claim 1

A computer-implemented method for enabling static markup crawlability for a web application dynamically updating web pages client-side, the method comprising:
providing a web application identifiable by a web address comprising both, a static content block and dynamic content; and
generating a static HTML page and pre-rendering the static content block of the web application such that at least a portion of the static content of the web application is crawlable.

### Claim 2 (depends on 1)

The computer-implemented method according to claim 1, further comprising:
requesting a first static content block of the web application from a content storage; and
pre-rendering the content of the first static content block using respective static templates on a server.

### Claim 3 (depends on 1)

The computer-implemented method according to claim 1, further comprising:
in response to determining that more static content blocks are present in the web application, repeating a loading and the pre-rendering for at least a portion of the more static content blocks in the web application.

### Claim 4 (depends on 1)

The computer-implemented method according to claim 1, further comprising:
in response to determining a browser call to the web address, executing a bootstrap code pulled in by the static HTML page.

### Claim 5 (depends on 4)

The computer-implemented method according to claim 4, wherein the bootstrap code enables lazy loading and starts rendering of the web application.

### Claim 6 (depends on 1)

The computer-implemented method according to claim 1, further comprising:
dynamically generating, by the web application, an HTML document object model relating to the static HTML page.

### Claim 7 (depends on 4)

The computer-implemented method according to claim 4, wherein the bootstrap code is JavaScript code.

### Claim 8 (depends on 4)

The computer-implemented method according to claim 4, further comprising:
in response to determining a call to the web address is not a browser originating call, suppressing an execution of the bootstrap code.

### Claim 9 (depends on 1)

The computer-implemented method according to claim 1, further comprising:
in response to determining a browser call to the web address, sending the static HTML page; and
replacing the static HTML page with the web application.

### Claim 10 (depends on 1)

The computer-implemented method according to claim 1, wherein a plurality of dynamic content items are part of a single page application.

### Claim 11 (depends on 1)

The computer-implemented method according to claim 1, wherein a plurality of static content blocks represents portions of the web application.

### Claim 12 (depends on 1)

The computer-implemented method according to claim 1, wherein the static content block is pre-rendered on the server.

### Claim 13

A system for enabling static markup crawlability for a web application dynamically updating web pages client-side, the system comprising:
one or more processors, one or more computer-readable memories, one or more computer-readable tangible storage devices, and program instructions stored on at least one of the one or more computer-readable tangible storage devices for execution by at least one of the one or more processors via at least one of the one or more computer-readable memories, wherein the system is capable of performing a method comprising:
providing a web application identifiable by a web address comprising a static content block and dynamic content; and
generating a static HTML page and pre-rendering the static content block of the web application such that at least a portion of the static content of the web application is crawlable.

### Claim 14 (depends on 13)

The system according to claim 13, further comprising:
requesting a first static content block of the web application from a content storage; and
pre-rendering the content of the first static content block using respective static templates on a server.

### Claim 15 (depends on 13)

The system according to claim 13, further comprising:
determining that more static content blocks are present in the web application, and
triggering repeating a loading and the pre-rendering for at least a portion of the more static content blocks in the web application.

### Claim 16 (depends on 15)

The system according to claim 15, further comprising:
wherein determining further comprises determining a browser call to the web address, and
wherein triggering further comprises executing a bootstrap code pulled in by the static HTML page.

### Claim 17 (depends on 16)

The system according to claim 16, wherein the bootstrap code enables lazy loading and starts rendering of the web application.

### Claim 18 (depends on 13)

The system according to claim 13, wherein generating the static HTML page further comprises:
dynamically generating, by the web application, an HTML document object model relating to the static HTML page.

### Claim 19 (depends on 16)

The system according to claim 16, wherein the bootstrap code is JavaScript code.

### Claim 20

A computer program product for enabling static markup crawlability for a web application dynamically updating web pages client-side, said computer program product comprising a computer readable storage medium having program instructions embodied therewith, said program instructions being executable by one or more computing systems or controllers to cause said one or more computing systems to:
provide a web application identifiable by a web address comprising both, a static content block and dynamic content; and
generate a static HTML page and pre-rendering the static content block of the web application such that at least a portion of static content of the web application is crawlable.
