A method for processing a webpage, the method being performed by a server and comprises: receiving a webpage request message sent by a terminal, wherein the webpage request message comprises an address of a webpage to be displayed and indication information, the indication information is used to indicate whether a current network accessed by the terminal meets a preset condition, and the preset condition comprises at least one of the following: the current network being a mobile network, a bandwidth of the current network being less than a preset bandwidth, and a rate of the current network being less than a preset rate; and sending, when it is determined that the current network meets the preset condition according to the indication information and that the webpage to be displayed comprises an image required to be displayed according to the address, a static data resource corresponding to the image to the terminal, so that the terminal is able to render the webpage to be displayed according to the static data resource and a target hypertext markup language, HTML, of the webpage to be displayed, so as to display the webpage to be displayed; wherein before the sending, when it is determined that the current network meets the preset condition according to the indication information and that the webpage to be displayed comprises an image required to be displayed according to the address, a static data resource corresponding to the image to the terminal, the method further comprises: providing the webpage to be displayed as input of a neural network model to determine the image required to be displayed, wherein the neural network model is trained through webpage samples, and wherein the trained neural network model takes a webpage as input and gives an image required to be displayed on the webpage as output. receiving a webpage request message sent by a terminal, wherein the webpage request message comprises an address of a webpage to be displayed and indication information, the indication information is used to indicate whether a current network accessed by the terminal meets a preset condition, and the preset condition comprises at least one of the following: the current network being a mobile network, a bandwidth of the current network being less than a preset bandwidth, and a rate of the current network being less than a preset rate; and sending, when it is determined that the current network meets the preset condition according to the indication information and that the webpage to be displayed comprises an image required to be displayed according to the address, a static data resource corresponding to the image to the terminal, so that the terminal is able to render the webpage to be displayed according to the static data resource and a target hypertext markup language, HTML, of the webpage to be displayed, so as to display the webpage to be displayed; wherein before the sending, when it is determined that the current network meets the preset condition according to the indication information and that the webpage to be displayed comprises an image required to be displayed according to the address, a static data resource corresponding to the image to the terminal, the method further comprises: providing the webpage to be displayed as input of a neural network model to determine the image required to be displayed, wherein the neural network model is trained through webpage samples, and wherein the trained neural network model takes a webpage as input and gives an image required to be displayed on the webpage as output.