×

Method and apparatus for automatically optimizing the loading of images in a cloud-based proxy service

  • US 9,183,319 B2
  • Filed: 11/13/2012
  • Issued: 11/10/2015
  • Est. Priority Date: 10/17/2012
  • Status: Active Grant
First Claim
Patent Images

1. A method for automatically optimizing the loading of images of a web page, the method comprising:

  • receiving a request for the web page that originates from a client network application of a client device, the web page including a plurality of references to a plurality of images respectively;

    retrieving the requested web page, wherein the requested web page includes code that includes a plurality of image tags for the plurality of images respectively;

    modifying the code of the retrieved web page such that the client network application will not, for each one of the plurality of images, request that image until the location where that image is to be displayed is within a viewport of the client network application or within a defined distance from the viewport of the client network application, wherein modifying the code of the retrieved web page includes the following;

    modifying each of the plurality of image tags such that the client network application will not initially request those images, andadding a set of one or more client-side scripts or one or more references to one or more client-side scripts that, when executed by the client network application, cause the client network application to perform the following;

    determine a size of the viewport, andmake a request for only those of the plurality of images whose corresponding image placeholders are within the viewport of the client network application or within the defined distance from the viewport of the client network application by restoring those modified image tags, wherein each request is to indicate a requested image size based on the determined size of the viewport and a set of one or more image dimensions as governed by the code of the web page; and

    transmitting the modified web page to the client device.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×