The invention discloses a method and a
system, and relates to the technical field of front-end re-rendering. The method comprises the following steps: establishing connection between a remote browser and a user browser through a
Websocket private sub-protocol, and capturing an event generated by operation of the user browser; a user browser is replaced for operation based on the http protocol, and the remote browser performs
page analysis rendering on the execution result of the
server side; the redrawing instruction information is transmitted to a user browser, and page redrawing is carried out through a user local browser. According to the method for realizing the front-end re-rendering engine, a
remote desktop protocol is replaced by a
Websocket private sub-protocol, communication is established between a user browser and a remote browser, and data is transmitted in a binary format, so that the
network data transmission quantity is reduced, the dependence on network bandwidth is reduced, the
transmission delay is eliminated, the transmission safety is improved, and the user experience is improved. The method has better effects in the aspects of
delay elimination, network bandwidth dependence reduction and safety.