Optimize data exchange for MVC-based web applications
First Claim
Patent Images
1. A method for reducing network traffic when updating a web page, the method comprising the steps of:
- receiving, by a first computer, a Hypertext Transfer Protocol (HTTP) request for an update for a webpage from a second computer;
determining, by the first computer, a portion of the webpage has changed;
determining, by the first computer, that an amount of data to be transmitted to update the portion of the webpage that has changed is smaller in size than an amount of data to be transmitted to update the entire webpage;
responsive to determining the amount of data to update the portion of the webpage that has changed is smaller than the amount of data to update the entire webpage, transmitting, by the first computer, to the second computer the amount of Hypertext Markup language (HTML) data to update the portion of the webpage that has changed wherein the portion of the webpage that has changed is identified based on a server framework mapping one or more unique runtime identifiers associated with one or more input HTML tags to an application definition identifier; and
responsive to determining the amount of data to update the entire webpage is smaller than the amount of data to update the portion of the webpage that has changed, transmitting, by the first computer, to the second computer the amount of HTML data to update the entire webpage.
2 Assignments
0 Petitions
Accused Products
Abstract
Embodiments of the present invention disclose a method, computer program product, and system for reducing network traffic. In one embodiment, a computer determines that a webpage has changed and that an amount of data to be transmitted to update the portion of the webpage that has changed is smaller than an amount of data to be transmitted to update the entire webpage.
-
Citations
6 Claims
-
1. A method for reducing network traffic when updating a web page, the method comprising the steps of:
-
receiving, by a first computer, a Hypertext Transfer Protocol (HTTP) request for an update for a webpage from a second computer; determining, by the first computer, a portion of the webpage has changed; determining, by the first computer, that an amount of data to be transmitted to update the portion of the webpage that has changed is smaller in size than an amount of data to be transmitted to update the entire webpage; responsive to determining the amount of data to update the portion of the webpage that has changed is smaller than the amount of data to update the entire webpage, transmitting, by the first computer, to the second computer the amount of Hypertext Markup language (HTML) data to update the portion of the webpage that has changed wherein the portion of the webpage that has changed is identified based on a server framework mapping one or more unique runtime identifiers associated with one or more input HTML tags to an application definition identifier; and responsive to determining the amount of data to update the entire webpage is smaller than the amount of data to update the portion of the webpage that has changed, transmitting, by the first computer, to the second computer the amount of HTML data to update the entire webpage. - View Dependent Claims (2, 3, 4, 5, 6)
-
Specification