Method and device for updating resource

The invention discloses a method and a device for updating a resource. The method comprises the following steps of receiving a resource updating request sent by a client side, wherein the version information of the current resource of the client side is carried in the resource updating request; judging whether a resource to be updated exists or not according to the version information of the current resource of the client side; if the resource to be updated exists, returning the updating path of the resource to be updated to the client side, so that the client side downloads the resource to be updated according to the updating path. Through the technical scheme provided by the invention, by using the method and the device for updating the resource, the speed rate of loading a page of the client side can be promoted; meanwhile, a newest page can be loaded to be browsed by a user; user experience is promoted.