Dynamic cognitive optimization of web applications
First Claim
1. A method for dynamically and cognitively generating and delivering web build layers for a web application, the method comprising:
- receiving, by a computer, a file request associated with the web application;
in response to receiving the file request, identifying a plurality of resource files associated with the received file request and the web application by querying, by a computer, at least one application server for the plurality of resource files;
determining, by a computer, whether the plurality of resource files are related based on tracked information and tracked user activity associated with the plurality of resource files, wherein the determining whether the plurality of resource files are related based on the tracked information and the tracked user activity associated with the plurality of resource files comprises determining whether there is a dependency relationship between the plurality of resource files based on a first resource file importing a second resource file, determining a frequency with which a user uses one or more of the plurality of resource files based on a number of times the plurality of resource files are loaded, and determining whether one or more of the plurality of resource files are restricted to a particular type of user;
generating a plurality of web build layers by grouping, by a computer, the plurality of determined related resource files based on the tracked information and the tracked user activity associated with the plurality of resource files, wherein generating the plurality of web build layers comprises, in response to generating a plurality of different groupings of the plurality of determined related resource files based on different types of relationships, selecting for delivery to the web application one or more groupings out of the plurality of different groupings based on a file size associated with each of the one or more groupings and network traffic associated with a network, wherein one or more of the plurality of the determined related resource files are included in two or more groupings associated with the plurality of different groupings; and
based on the selection of the one or more groupings, delivering the generated plurality of web build layers to the web application.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for dynamically and cognitively generating and delivering web build layers for web applications is provided. The method may include receiving, by a computer, file requests associated with web applications. The method may further include, in response to receiving the file requests, identifying resource files associated with the file requests and the web applications by querying, by a computer, at least one application server for the resource files. Additionally, the method may include determining, by a computer, related resource files based on the identified resource files by tracking information and user activity associated with the identified resource files. The method may also include generating web build layers by grouping, by a computer, the determined related resource files. The method may further include delivering the generated optimized web build layers to the web applications based on the tracked information and user activity.
-
Citations
20 Claims
-
1. A method for dynamically and cognitively generating and delivering web build layers for a web application, the method comprising:
-
receiving, by a computer, a file request associated with the web application; in response to receiving the file request, identifying a plurality of resource files associated with the received file request and the web application by querying, by a computer, at least one application server for the plurality of resource files; determining, by a computer, whether the plurality of resource files are related based on tracked information and tracked user activity associated with the plurality of resource files, wherein the determining whether the plurality of resource files are related based on the tracked information and the tracked user activity associated with the plurality of resource files comprises determining whether there is a dependency relationship between the plurality of resource files based on a first resource file importing a second resource file, determining a frequency with which a user uses one or more of the plurality of resource files based on a number of times the plurality of resource files are loaded, and determining whether one or more of the plurality of resource files are restricted to a particular type of user; generating a plurality of web build layers by grouping, by a computer, the plurality of determined related resource files based on the tracked information and the tracked user activity associated with the plurality of resource files, wherein generating the plurality of web build layers comprises, in response to generating a plurality of different groupings of the plurality of determined related resource files based on different types of relationships, selecting for delivery to the web application one or more groupings out of the plurality of different groupings based on a file size associated with each of the one or more groupings and network traffic associated with a network, wherein one or more of the plurality of the determined related resource files are included in two or more groupings associated with the plurality of different groupings; and based on the selection of the one or more groupings, delivering the generated plurality of web build layers to the web application. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer system for dynamically and cognitively generating and delivering web build layers for a web application, 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 storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, wherein the computer system is capable of performing a method comprising; receiving, by a computer, a file request associated with the web application; in response to receiving the file request, identifying a plurality of resource files associated with the received file request and the web application by querying, by a computer, at least one application server for the plurality of resource files; determining, by a computer, whether the plurality of resource files are related based on tracked information and tracked user activity associated with the plurality of resource files, wherein the determining whether the plurality of resource files are related based on the tracked information and the tracked user activity associated with the plurality of resource files comprises determining whether there is a dependency relationship between the plurality of resource files based on a first resource file importing a second resource file, determining a frequency with which a user uses one or more of the plurality of resource files based on a number of times the plurality of resource files are loaded, and determining whether one or more of the plurality of resource files are restricted to a particular type of user; generating a plurality of web build layers by grouping, by a computer, the plurality of determined related resource files based on the tracked information and the tracked user activity associated with the plurality of resource files, wherein generating the plurality of web build layers comprises, in response to generating a plurality of different groupings of the plurality of determined related resource files based on different types of relationships, selecting for delivery to the web application one or more groupings out of the plurality of different groupings based on a file size associated with each of the one or more groupings and network traffic associated with a network, wherein one or more of the plurality of the determined related resource files are included in two or more groupings associated with the plurality of different groupings; and based on the selection of the one or more groupings, delivering the generated plurality of web build layers to the web application. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A computer program product for dynamically and cognitively generating and delivering web build layers for a web application, comprising:
-
one or more computer-readable storage devices and program instructions stored on at least one of the one or more tangible storage devices, the program instructions executable by a processor, the program instructions comprising; program instruction to receive, by a computer, a file request associated with the web application; in response to receiving the file request, program instruction to identify a plurality of resource files associated with the received file request and the web application by querying, by a computer, at least one application server for the plurality of resource files; program instructions to determine, by a computer, whether the plurality of resource files are related based on tracked information and tracked user activity associated with the plurality of resource files, wherein the program instructions to determine whether the plurality of resource files are related based on the tracked information and the tracked user activity associated with the plurality of resource files comprises program instructions to determine whether there is a dependency relationship between the plurality of resource files based on a first resource file importing a second resource file, program instructions to determine a frequency with which a user uses one or more of the plurality of resource files based on a number of times the plurality of resource files are loaded, and program instructions to determine whether one or more of the plurality of resource files are restricted to a particular type of user; program instruction to generate a plurality of web build layers by grouping, by a computer, the plurality of determined related resource files based on the tracked information and the tracked user activity associated with the plurality of resource files, wherein generating the plurality of web build layers comprises, in response to generating a plurality of different groupings of the plurality of determined related resource files based on different types of relationships, selecting for delivery to the web application one or more groupings out of the plurality of different groupings based on a file size associated with each of the one or more groupings and network traffic associated with a network, wherein one or more of the plurality of the determined related resource files are included in two or more groupings associated with the plurality of different groupings; and program instruction to, based on the selection of the one or more groupings, deliver the generated plurality of web build layers to the web application. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification