Network client optimization
A method of rendering an optimized web page or other resource includes requesting a resource and receiving a response including a user interface control declaration and a data array containing properties for the user interface control. The data array is parsed to produce a first property value, and a property of the user interface control is modified to correspond to the first property value. Alternatively, the response may not include a user interface control declaration, but a user interface control may be instantiated having a property that corresponds to the first property value. The property value may have been determined dynamically based at least in part on information provided with the request.
1. A computerized method comprising:
requesting a resource;
receiving a response including a user interface control declaration and a data array containing properties for the user interface control;
parsing a first property value in the data array;
modifying a property of the user interface control corresponding to the first property value.
2. The method of claim 1 further comprising iterating over the data array.
3. The method of claim 1 further comprising parsing a first property index in the data array, wherein the first property index is associated with the first property value.
4. The method of claim 1 further comprising decompressing the response.
5. The method of claim 1 wherein the user interface control is an HTML control.
6. The method of claim 1 wherein the modifying step comprises executing a Javascript function.
7. The method of claim 1 wherein the data array comprises properties determined dynamically depending at least in part on information provided in the requesting step.
8. The method of claim 1 wherein the data array comprises properties determined dynamically depending at least in part on information associated with a user.
9. The method of claim 8 wherein a portion of the response is compressed but the properties determined dynamically are not compressed.