1. A method for dynamically modifying a webpage comprising: determining, by a middleware computing device, a required time to send a received webpage from a server to a client device based on a plurality of system constraints; determining, by the middleware computing device, an available time based on one or more of the plurality of the system constraints, or a target time, wherein the determined available time indicates an amount of time remaining to send the received webpage to the client device; determining, by the middleware computing device, when the determined available time is greater than the determined required time; converting, by the middleware computing device, a format of the received webpage from the server to the client device when the determined available time is greater than the determined required time, wherein the converting the format comprises including contextual information in the received webpage to enrich the received webpage; and sending, by the middleware computing device, the received webpage with the converted format to the client device.