| CPC G06F 9/451 (2018.02) [G06F 9/44521 (2013.01)] | 9 Claims |

|
1. A method of operating a backend application instantiated by interoperation of a processor and a memory allocated for the backend application by a host system, the method comprising:
receiving, at the backend application from a frontend application instantiated by a client device, a request for a page defined by an element tree comprising:
a set of user interface elements;
a set of style elements, each style element defining a presentation style for at least one of the user interface elements; and
a set of frontend-executable script elements, each defining a functionality associated with at least a respective one of the set of user interface elements;
determining, by the backend application from the request, user information associated with a particular user authenticated to the backend application operating the frontend application;
identifying, by the backend application from the user information, a first frontend-executable script element of the set of frontend-executable script elements likely to receive a first user input by the specific user at the frontend within a first threshold time period of initiating loading of the page in the frontend;
identifying, by the backend application from the user information, a second frontend-executable script element of the set of frontend-executable script elements not likely to receive a second user input by the specific user at the frontend within a second threshold time period of initiating loading of the page in the frontend;
marking, by the backend application instance, the second frontend-executable script element for deferred loading;
associating an input buffer script of the element tree with a user interface element associated with the second frontend-executable script element, the input buffer script configured to:
receive the second user input that is provided by the specific user prior to the second frontend-executable script being loaded; and
buffer the second user input until after the second frontend-executable script element is loaded, thereafter providing the second user input to the second frontend-executable script element as input; and
serving the element tree to the frontend application instance in response to the request.
|