1. A method of distributing images from a server for dynamic web pages, the method comprising: obtaining dynamic server page content responsive to a request from a client for a dynamic server page; determining that the dynamic server page content indicates a plurality of images; inserting into the dynamic server page content an image group identifier and a first indication, the first indication indicating that the image group identifier identifies a group of images, which is the plurality of images; for each of the plurality of images, inserting into the dynamic server page content a client side file name and a second indication of location for displaying the image by the client; and transmitting to the client, the dynamic server page content with the image group identifier, the first indication, the client side file names, and the second indications, wherein said inserting into the dynamic server page content the client side file name and the second indication of location for displaying the image by the client for each of the plurality of images comprises: for each of the plurality of images, replacing an image markup element associated with the image with a different markup element and replacing the uniform resource location of the image with the client side file name by which the client will identify local storage location of the image.