DYNAMIC EMBEDDING OF LITERAL OBJECT DATA IN SUPPLIED INSTANCE OF INFORMATION OBJECT

Abstract: Techniques have been developed whereby information objects referenced in a requested information object (e.g., image, audio, video, application, and/or text objects referenced in an HTML document) are embedded in a composite object and supplied in as literal data therein in response to an object identifier (e.g., a URL request). Referenced information objects may be retrieved from cache or obtained from authoritative information servers and dynamically embedded in a composite information object. In some realizations, composite objects with embedded references are retrieved from cache. In some realizations, individual information objects (including those referenced) are cached and a composite object is dynamically prepared. In some realizations, though not all realizations, the caching techniques are employed in a proxy server implementation.

Description: DYNAMIC EMBEDDING OF LITERAL OBJECT DATA IN SUPPLIED INSTANCE OF INFORMATION OBJECT Technical Field The invention relates generally to information systems, and in particular, to networked information systems wherein information objects supplied from an information service to a user agent may include references to other information objects Background Art The explosive growth of internet-based information services, particularly World-Wide Web (WWW) based services, and the increasingly ubiquitous nature of browser technology have created an increased level of demand for network bandwidth At the same time, typical commerce grade web sites incorporate more and more complex mixes of multimedia content such as images, audio and video, functional code such as applets, and other information objects Because these information objects are typically served from web servers that are remote from any particular client agent (e g , a browser), their use contributes to overall network bandwidth requirements From a browser user's perspective, limited network bandwidth typically manifests itself in delays in rendering web pages or the images, audio and video included therein Caching is a technique that is commonly used in information systems to address limited bandwidth between an information source and an information target In the context of the internet, caching techniques have long been used to improve performance of some information services, notably Domain Name Services (DNS) More recently, caching techniques have been applied to address bandwidth limitations on WWW traffic For example, network caches are now often integrated with proxy server technology to service requests for HyperText Markup Language (HTML) content By using such a proxy cache, a request for an HTML object ultimately served by a remote web server may be satisfied with a cached version of the HTML object stored closer to the requestmg web browser Examples of proxy caches include the CERN httpd (available in source from at http //www w3 org/Daemon) configured as a proxy server with cachmg enabled, see generally, Luotonen & Altis, World-Wide Web Proxies, April 1994 (available at http //www w3 org/Hιstorv/1994/WWW/Proxιes) Web pages are typically obtained by a web browser by requesting an HTML document from a web server (or from an intervening proxy server) in accordance with a Uniform Resource Locator (URL) In response, the web server (or the proxy server) supplies a corresponding HTML document Web pages encoded as HTML documents frequently include references to objects such as images, applets and other HTML documents Sometimes these references are associated with a hyperlink References are typically encoded in the HTML document as Uniform Resource Locator (URL) references In the course of rendermg an HTML document, the receiving web browser requests these included images, applets and other HTML documents by making additional requests for the objects corresponding to these Uniform Resource Locator (URL) references In response, corresponding web servers (or the proxy server) supply(ιes) the referenced objects Even if each referenced object is cached by the proxy server, to render a given web page, the browser must parse the requested and received HTML document to extract the included URL references, individually request the objects corresponding to the included references, receive each of the requested objects, and finally render each of the received objects Often, there are significant performance delays for the browser user due to the back-and-forth communication between the browser and the server or servers providing the HTML document and included objects DISCLOSURE OF INVENTION Accordingly, caching techniques have been developed whereby information objects referenced in a requested information object (e g , image, audio, video, application, and/or text objects referenced in an HTML document) are embedded in a composite object and supplied as literal data therein in response to an object identifier (e g , an URL request) Referenced mformation objects are retrieved from cache or obtained from authoritative information servers and dynamically embedded m a composite information object In some realizations, composite objects with embedded references are stored in, and retrieved from, cache In some realizations, individual mformation objects (including those referenced) are cached and a composite object is dynamically prepared In some realizations, though not all realizations, the caching techniques are employed m a proxy server implementation In one embodiment in accordance with the present invention, a method of improvmg performance m a distributed mformation resource environment includes retrieving a first mformation object corresponding to a first identifier and mcludmg a second identifier corresponding to a second mformation object, retrieving the second mformation object, and thereafter supplymg, m response to the first resource identifier, an information encodmg of the first information object embeddmg the second mformation object In another embodiment in accordance with the present invention, a method of operating a network cache mcludes (a) in response to an mformation request for a first mformation object that itself includes an identifier for a second mformation object, obtaining both the first and the second mformation objects, and (b) supplymg an information encodmg of the first mformation object with the second information object embedded therem In some realizations, the method further mcludes stormg of first and second information object mstances m a data store local to the network cache and thereafter performing the supplymg usmg the stored instances In some realizations, the obtamed first mformation object encodes the second information object using a resource retrieval markup element and attributes and the supplied first information object encodes the second information object as a literally included object and attributes In some realizations or situations, the obtaining of the first information, the second information object, or both is from a data store local to the network cache In some realizations or situations, the obtaining of the first information, the second mformation object, or both is from an mformation server displaced from the network cache by at least a communications link In still another embodiment in accordance with the present invention, a method of improving performance in an hypermedia mformation environment mcludes caching a first information object and an additional information object, wherem a pπmary uncached representation the first mformation object mcludes a hypermedia link identifying the additional mformation object; and supplying , a second representation of the first mformation object m response to a request for the first information object The second representation mcludes a literal encodmg of the additional information object In an embodiment in accordance with the present invention for a computer network mcludmg at least one information server and at least one client agent, wherein at least one first information object served by the least one information server includes a reference to at least one other information object, a cache includes a data store, and a mformation service interface responsive to requests for the first information object, whereby m response to at least some requests therefor, the information service interface supplies an encodmg of the first mformation object with the other information object literally encoded therein, wherein at least one of the first mformation object and the other mformation object is supplied from the data store rather than from the least one mformation server In various realizations, the cache is configured as a proxy cache, a transparent proxy cache, or a transparent proxy cache with redirection In still yet another embodiment in accordance with the present invention, a method of makmg a computer readable encodmg correspondmg to a first information object that itself includes a reference to a second mformation object mcludes cachmg both the first and the second information objects, and embedding a literal representation of the second mformation object in a representation of the first information object for supply m response to a request for the first information object In still yet another embodiment m accordance with the present invention, a computer program product encoded in computer readable media includes instructions executable to receive a request for a first mformation object and to retrieve an encoding of the first information object from a local cache, if available, and otherwise from a first mformation service therefor The computer program product also includes instructions executable to supply, in response to the request, the first information object with a literal encoding of a second information object included therem. The first mformation object, as served by the first mformation service, includes a reference to, rather than a literal encoding of, the second mformation object BRIEF DESCRIPTION OF DRAWINGS The present invention may be better understood, and its numerous objects, features, and advantages made apparent to those skilled in the art by referencmg the accompanying drawings FIG. 1 depicts typical request and response flows between a web browser and a web server m a transaction involving rendering of a web page that itself includes a referenced object such as an image FIGS. 2A and 2B depict typical request and response flows between a web browser and a cachmg proxy server and between the cachmg proxy server and a web server m a transaction involving rendering of a web page that itself mcludes a referenced object such as an image FIG. 2 A depicts request and response flows assuming that both the web page and the referenced object miss m the caching proxy server FIG. 2B depicts request and response flows assuming that both the web page and the referenced object hit in the caching proxy server FIGS. 3A and 3B depict request and response flows between a user agent and a caching proxy server and between the caching proxy server and an mformation server in accordance with an exemplary embodiment of the present invention FIG. 3 A depicts request and response flows assummg that both a requested first mformation object and a second information referenced therein miss in the cachmg proxy server FIG. 3B depicts request and response flows assuming that both the first and second objects hit m the caching proxy server FIG. 4 is a flow chart illustrating operation of an exemplary cachmg server realization in accordance with the present invention FIG. 5 is a flow chart illustrating operation of another exemplary caching server realization m accordance with the present mvention FIG. 6 is a flow chart illustrating operation of yet another exemplary caching server realization in accordance with the present mvention The use of the same reference symbols in different drawings indicates similar or identical items MODE(S) FOR CARRYING OUT THE INVENTION Although not limited thereto, some aspects of the present mvention are described herem in the context of information services, client applications, servers, encodmgs, information objects, markup languages, media content, communication networks and interfaces typical of World-Wide Web (WWW or "web") applications and browser technologies This context facilitates description of an exemplary set of realizations of the present invention for caching web-based media content served to web browsers by web servers However, based on the description herem, persons of ordinary skill in the art will appreciate additional applications to information services and information content in general, wherein the information content itself contams references to mformation content and wherein caching techniques m accordance with the present invention allow reduced back-and-forth request and response traffic by resolvmg references and embedding literal mformation content m response traffic supplied from the cache FIG. 1 illustrates typical request and response flows between a web browser 101 and a web server 102 in a transaction involving rendermg of a web page that itself mcludes a referenced object (e g , an image) The web page is obtained by web browser 101 by requesting (1) an HTML document from web server 102 m accordance with a Uniform Resource Locator (URL) In response, web server 102 supplies (2) a corresponding HTML document The supplied HTML document includes a reference (encoded as an URL) to an image stored at web server 102 as a Graphics Interchange Format (GIF) file Accordingly, web browser 101 requests (3), and in response web server 102 supplies (2), the referenced GIF file FIGS. 2A and 2B are similar, but illustrate operation of an intervening caching proxy server 203 As before, web browser 101 requests (1) an HTML document from web server 102, however, as illustrated in FIG. 2A, the request is directed to proxy server 203 If the requested HTML document is uncached, proxy server 203 proxies a request (5) to web server 102, which in response, supplies (6) the requested HTML document Proxy server 203, in turn, supplies (2) the requested HTML document to web browser 101 Because the supplied HTML document includes an URL-encoded reference to a GIF file stored at web server 102, web browser 101 requests (3) the referenced GIF file The request is directed to proxy server 203, and, assummg the requested GIF file is uncached, proxy server 203 proxies a request (7) to web server 102 In response, web server 102 supplies (8) the requested GIF file, and proxy server 203, m turn, supplies (4) the requested GIF file to web browser 101 As illustrated in FIG. 2A, a local store 204 is updated to cache the HTML document and GIF file for subsequent accesses by web browser 101 FIG. 2B illustrates a subsequent access As before, web browser 101 requests (1) an HTML document from web server 102 via proxy server 203 If the requested HTML document is cached, proxy server 203 supplies (2A) the requested HTML document from local store 204 to web browser 101 Web browser 101 then requests (3) the GIF file referenced m the HTML document supplied from local store 204 In response, proxy server 203 supplies (4A) the requested GIF file from local store 204 to web browser 101 Note that even though both the HTML document and GIF file are cached by proxy server 203, web browser 101 must resolve the URL reference m the supplied HTML document through a second request/response transaction (3, 4 A) Of course, typical HTML documents will often include much larger numbers of included references to media content (e g , URLs identifying unage, video and/or audio content on web servers such as web server 102) FIGS. 3A and 3B illustrate an improved configuration whereby a second request/response transaction is obviated User agent 320 (e g , a web browser or other information client) requests (1) a first mformation object (e g , an HTML document or other hypermedia object) A first object identifier (e g , a URL, address or other resource identifier) identifies the first mformation object In the illustration of FIG. 3A, the first information object is uncached and resides at information server 302 The requested first mformation object (as supplied from information server 302) mcludes one or more references to additional mformation objects such as images, video, audio, application or text information objects In one web-oπented embodiment, these references are encoded as URLs, although other encodings are possible Caching proxy server 310 obtains the first information object from information server 302 However, rather than supplying the first information object (with included references to the additional information objects) to user agent 320, cachmg proxy server 310 itself attempts to resolve the included references For example, in the illustration of FIG. 3 A, cachmg proxy server 310 requests (7B) an mcluded additional mformation object from mformation server 302 In response, information server 302 supplies (8) the requested additional information object Caching proxy server 310 then supplies (2B) user agent 320 with an instance of the first information object with the received additional information object embedded therem Note that the received additional mformation object is included as a literal (rather than by reference) withm the supphed mstance of the first mformation object In this way, user agent 320 need not initiate a request for the additional mformation object As illustrated m FIG. 3A, local store 330 is updated to cache the first and additional mformation objects for subsequent accesses by user agent 320 or by other user agents (not shown) In some realizations, the cached mstance of the first mformation object mcludes the received additional information object embedded therein In some realizations, both the first mformation object and the additional mformation object are cached separately In some realizations, a composite mformation object is cached FIG. 3B illustrates a subsequent access As before, user agent 320 requests (1) the first mformation object usmg a first object identifier Cachmg proxy server 310 services the request with mformation from local store 330 For example, m one realization, user agent 320 indexes mto local store 330 usmg the first object identifier and retrieves a cached mstance of the first mformation object which mcludes the received additional mformation object embedded therem In another realization, user agent 320 mdexes into local store 330 usmg the first object identifier, retrieves a cached mstance of the first mformation object (this tune with an mcluded reference to the additional mformation object), parses the retrieved first mformation object to extract the mcluded reference, mdexes mto local store 330 usmg the reference, and retπeves a cached mstance of the additional information object In either case, cachmg proxy server 310 supplies (2B) user agent 320 with an mstance of the first mformation object which mcludes the additional mformation object embedded therem Although a wide vanety of embeddmg schemes are envisioned and will be appreciated by persons of ordinary skill m the art based on the description herem, an HTML-oπented example is illustrative HTML, version 4 0 (as defined by the HTML 4 01 Specification available from the World-Wide Web Consortium, W3C, at http //www w3 org/TR/1999/PR-html40-19990824 now mcludes a standard mechanism for embeddmg generic media objects and applications m HTML documents The OBJECT element (together with its more specific ancestor elements IMG and APPLET) provides a mechanism for mcludmg images, video, sound, mathematics, specialized applications, and other objects m a document See generally HTML 4 01 Specification, pp 159-182 In one realization m accordance with the present mvention, mstances of an mformation object supplied (2B) by cachmg proxy server 310 embed additional information objects as literal data usmg the OBJECT element This embeddmg mechanism is presently preferred because a wide vanety of browser implementations are expected to, in the future, be compatible with the HTML 4 Specification and will therefore already mclude support for HTML documents with embedded objects prepared and supplied by a cachmg proxy server or other cache configuration m accordance with the present mvention Nonetheless, other embeddmg mechanisms may be employed Use of the embeddmg techniques m accordance with the present mvention will be better understood m the context of an HTML-oriented example Assume that a given URL (e g , http //www somedomam com/eCommerce/example html) identifies a first information object encoded as HTML at mformation server 302 and that the mformation object (example html) itself mcludes a URL identifying a second information object encoding an image (e.g., in GIF as demo. gif also at information server 302). In a conventional configuration, a servicing information resource (such as a caching proxy server without features in accordance with the present invention) would supply a web browser with the following HTML: <html> <body> <img src="demo.gif "> </body> </html> in response to a corresponding URL request received from the user agent. Thereafter, based on the <img src= " demo . gif " > element of the received HTML, the web browser would request the image by presenting a corresponding URL (e.g., http://www.somedomain.com/eCommerce/demo.gif). Then, the GIF- encoded image would be retrieved from cache, if cached, or supplied from information server 302, if not. In either case, the web browser first requests the first information object, and after interpreting the referencing element therein, requests the second information object. If the GIF-encoded image is cached, the back-and- forth request/response traffic spans the web browser and proxy server. On the other hand, if the GIF-encoded image is uncached, the back-and-forth request response traffic spans the web browser, proxy server and web server. Of course, this back and forth request/response traffic is further multiplied if multiple images or other information objects are referenced in the HTML-encoded first information object. In one realization of caching proxy server 310 in accordance with the present invention, the additional request/response traffic between user agent 320 and caching proxy server 310 is substantially reduced. In some realizations, such traffic may be substantially eliminated. As before, assume that a given URL (e.g., htψ://www.somedomam.com/eCommerce/example,html) identifies a first information object encoded as HTML at information server 302 and that the information object (example.html) itself includes a URL identifying a second information object encoding an image (e.g., in GIF as demo.gif also at information server 302). In response to a corresponding URL request received from the user agent, caching proxy server 310 supplies the following composite object: <html> <body> <object data="data:image/gif ;base64,R01GODlh6wApANX/AMbG2cT E18HBlb+/lL6+07y80ru70rm50bi40LOzzbKyzK+vyq+vya6uya2tya2tyKurx6mpxcjτn pxaWl 60jwqGhwZ6ev52dvpmZu5iYupaWuZKSt5GRto60s42Ns4mJsIiIr4WFroKCrIK Cq39/qnx8qHx8p3l5pnd3pXd3pHZ2o3R0onNzoXFxoXFxoHBwoHBvm29vn25unmtrncD AwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAADQALAAAAADrACk AQAb/QJpwSCwaj8ikcslsOp/QqHRKrVqv2Kx2y+0Ovt+ueCzegAcN51lSNIM3RAm4RCv Jz/DieQCK78NDM3hFLRd/BxszRns0IAlnCXRkk5RRdn8DbEIlg0RuX3lCdl+SQ2tFIGc HNBlzomAJ IZfFEMpm gDRIxFow011cGUj71gDYpDHs dr65DnG9HI399RQd7GUety5m 73BfC4eLj50Xm5+jp6uvsV8p7DRLE3ea+mkTzXy2oZylVvOOCSnn3RwIwbl/uCfkOIBQ NX9WagSICDYw/GhQsZvyySkgDMOCE3AJJ8Uw2U/0C5aslsGWTil88bDrlidnDM8BgKhS SCtMl/yIf/7BEaVHNGUJnhrpcyrSp06dQo0qdSrWqVUrb CX4aW6PzCIEBygVIigaFYB X28EcgKxdTzBFpmHrZcwK2rTrlh7gqoTmEIYOfe KR R mdgfIUKSyTFNWOCQxJdRhh vuayHLs5M3 amr5x+PQ5qAaYWzD4wNQcF5AfuZFlEyrq2nG5GPj6bJ9Y0K/GXHs5F8hG 8J/f 2wGal25Yzry5w7s3Z9MOJgFEW5GPOSI0XtgzzpK88flJQ+Q4mHlE OM2kkIzDbQ jOV6fTmnGhtsJIxZJsfrLhX2fBPYdYuG19kVlRITVERIbZJeUdcHlQsFB9FVo4YUYZqj hhhx26P/hhyCGKKKIL wgwW NZMBXOSlI4KKL7on0Ynλ7HzHjSFNCNyIVhucQYTj4OCcH :ggR+sWIUOeqYhYMNoEfDDCAOQGE4DCFIA2176EcDQ3YdpWQXYeOkTAoebOCBkOWSkt5 4EdJyxAwlLOfBlEIAlMJydH7pBEO+MRHalt59kQGPZ3wlRH83vodJKTAB41gux/xmDC4 +6tmEgwnlqehhu+n 2wAJZGDιHsCEBRugM V3 2Hk9VZNC/25N94GGdympaVNEJoUmlf +CZιBfQoRVqKbGιnEY6uEdVGhQ/B4kKrbncqTKr OcQkmByR3hmQLBapmmjthxsZbe x LAOFE7jH/o4sORmtEPpp uOQJ+KEHU5C/DvGZpPQMgaVFq/llhmlgGLrWMu7S5Yy8VJι Xh06dhbevv3/KcsZqocιGBhhExseanl6Kpx3DVZgnιcZEouppdN/m gC3Qvy7x3 6DmC oEEAaJR0rZ9xKM]8JMSdYQ8AeICoFmAq4cB02DaHeAMTK/E rtsy6HAV3PHfGP3N440C RPxvh9TIUzEcwJh6MonTLTBdIlh+8YkTqm/lhyy03xEYhQw wvOBCCy648MILMBQew+F 9v8DCCιqgcIIJJIgQwgcdcKABBhZIJMEEEEDιwwAMPONBAAww ALropDOwwOqst7666q6 X7voCo8s+NwqCBAA 04GKHC767oDQIDwxdv/PHIJ886AgHsLoABxxtgw04ABNC78r8 XoH3Y3HfvPWBAAA7"> demo </ob ect> </body> </html> Note that the referenced image encoding is embedded as literal data in the response If both the first and second mformation objects (e g , the HTML-encoded web page and the GIF-encoded image) are cached by cachmg proxy server 310, caching proxy server 310 supplies the composite object directly from mformation stored in local store 330 Depending on whether the particular realization of caching proxy server 310 caches the mformation as a composite object or as multiple component objects, cachmg proxy server 310 may or may not need to evaluate references and prepare the composite object However, in either case, caching proxy server 310 supplies the composite object m response to the initial URL request If either the first or second mformation objects are uncached, caching proxy server 310 obtains the uncached object(s) from mformation server 302 and prepares the composite object for supply to user agent 320 FIG. 4 is a flow chart illustrating operation of an exemplary caching proxy server realization m accordance with the present invention In the realization of FIG. 4, information objects are cached individually and a composite HTML document is dynamically prepared from individual mformation objects As before, aspects of the realization are described m the context of a web-onented mformation content and tools, although based on the description herein, persons of ordinary skill m the art will appreciate applications to other information content and tools including those associated with other hypermedia encodmgs or markup language encodmgs such as SGML, XML, etc Cachmg proxy server 410 receives a URL request from web browser 420 If the corresponding HTML document is cached, caching proxy server 410 retrieves the HTML document from cache Otherwise, cachmg proxy server 410 obtains the HTML document from web server 402 Assuming that the obtained HTML document is cacheable m accordance with the particular cachmg proxy server's algorithm, the obtained HTML document is stored to cache Examples of HTML documents that may be non-cacheable mclude those with Cache-Control metadata attributes oi Private, No-Cache or No- Store Particular cachmg policies, resolution algorithms and replacement algorithms are implementation dependent Realizations m accordance with the present invention may implement any suitable cachmg policies, resolution algorithms and/or replacement algoπthms Whether retrieved from cache or obtamed from web browser 420, the HTML document is parsed for referenced objects If no objects are referenced, the HTML document is supplied to web browser 420 m response to the received URL However, if additional objects are referenced, cachmg proxy server 410 obtams each referenced object without first supplying the HTML document (with unresolved references) to web browser 420 The referenced objects may themselves be cached or uncached If cached, a referenced ob j ect is retπeved and embedded in the HTML document If uncached, the referenced object is obtained from a corresponding web server (e g , web server 402A) and embedded in the HTML document Note that, in general, referenced objects may be served from the same, or from a different, information server than the referencmg object In one realization, each retrieved or obtamed object is embedded m the HTML document by replacing the original referencmg element (e g , an <ιmg src= " demo . gif " > element) with a corresponding literal object encoded as an HTML 4 OBJECT element The coπespondmg literal object encoding is prepared from the retrieved or obtamed object Once each referenced object has been resolved, an HTML document based on that served by web server 402, but with mdividual references replaced with literal encodings of the referenced objects, is supplied to web browser 420 Preferably, each reference in the HTML document is resolved and replaced with literal data before supply to web browser 420 However, persons of ordinary skill m the art will appreciate that, for a particular HTML document, resolution of some references may be deferred to web browser 420 without departing from the spirit of the present mvention For example, m some realizations, there is a tradeoff between the size of the object (l e , the time required to encode and embed the object) and the time saved by a reduction m network requests and responses This tradeoff may be particularly relevant for very large objects or where large numbers of objects are referenced m a source document In such cases, an earlier partial rendering may be preferable even if at the expense of increased total time for back-and-forth request response traffic Other situations in which resolution of some references may be deferred include those where subsequent references to the to-be-embedded object are unlikely and for which fixed costs of encodmg (and m some realizations, embedding) the object are unlikely to recovered over subsequent accesses More generally, m some realizations, decisions regardmg whether or not to cache a particular object may similarly affect decisions regarding embedding In short, some configurations m accordance with the present invention may encode and embed less than all objects referenced m particular source documents Based on the description herein, and based on particulars of a given implementation, network, or information object mix, persons of ordinary skill m the art will appreciate suitable strategies for selecting particular references for resolution and replacement with literal data For a particular realization or situation, much (though necessarily not all) of the back-and-forth request response traffic between web browser 420 and caching proxy server 410 is eliminated References resolved by cachmg proxy server 410 are preferably cached thereby to support subsequent references However, as suggested above, mdividual objects may or may not be cached once resolved, in accordance with the particular caching policies implemented by the caching proxy server and in accordance with any cache control metadata associated with a particular object FIG. 5 is a flow chart illustrating operation of another exemplary caching proxy server realization in accordance with the present invention In the realization of FIG. 5, a composite HTML document is prepared from individual mformation objects and cached as a composite object for supply in response to a corresponding URL Note that in this realization, the cached mstance coπespondmg to a particular URL differs from that served by an authoritative information resource therefor (e g , web server 402) By cachmg the prepared composite object, caching proxy server 510 may service a subsequent request with the coπespondmg URL without parsmg a cached HTML document for references and without re-embeddmg literal representations of the referenced objects m the composite object Although not illustrated m FIG. 5, cachmg proxy server 510 may optionally cache referenced objects as well In this way, other referencmg paths (e g , other HTML documents) that mclude such objects may be serviced by cachmg proxy server 510 from a local store FIG. 6 is a flow chart illustrating operation of yet another exemplary caching proxy server realization m accordance with the present invention In the realization of FIG. 6, a composite HTML document is prepared from mdividual mformation objects for supply m response to a coπesponding URL Note that the realization of FIG. 6 contemplates that certain referenced objects may not be cacheable Accordingly, although literal instances of referenced objects are embedded (612) m an HTML document supplied (614) to web browser 420, a cached version of the composite HTML document may embed only cacheable objects (see 613) As a result, the HTML document cached by caching proxy server 610 as coπesponding to a requested URL may include some previously resolved (and cacheable) objects embedded as literal data therein and some previously resolved (but uncacheable) objects by reference Accordingly, references m such a cached HTML document, when retrieved (611), are once again resolved by caching proxy server 610 and embedded (612) m an mstance of the HTML document for supply to web browser 420 As before, although not illustrated m FIG. 6, cachmg proxy server 610 may individually cache referenced (and cacheable) objects as well In this way, other referencmg paths (e g , other HTML documents) that include such objects may be serviced by caching proxy server 610 from a local store Exemplary Implementations In an exemplary embodiment, at least some of the above-described components are implemented as a caching proxy server m the context of a commercially-available web server environment For example, the suitable implementation environments include those based on Netscape ® Proxy Server or Apache Proxy Server implementations Netscape is a registered trademark of Netscape Communications Corporation in the United States and other countries While the description herein is focused on aspects of a dynamic object data embeddmg, rather than on peculiarities of any specific implementation environment, it is envisioned that implementations in accordance with the teachmgs of the present mvention may be implemented m the context of many commercially-available networked mformation service environments, including web server environments, as well as in custom environments and environments that m the future will be developed However, to facilitate an understanding of broad concepts usmg a specific exemplary environment, and without limitation, the description herein may include terminology specific to web servers and a proxy server type cache implementations Nonetheless, based on this description, persons of ordinary skill in the art will appreciate implementations suitable for other environments The scope of the invention, as defined by the claims that follow, is not limited to any specific implementation environment While the invention has been described with reference to various embodiments, it will be understood that these embodiments are illustrative and that the scope of the invention is not limited to them Many variations, modifications, additions, and improvements are possible For example, m a given implementation some references to mformation objects may be resolved by a user agent Although web browser and proxy server applications have been described, embodiments m accordance with the present invention are not limited thereto In particular, information object embeddmg techniques described herein may be employed at a user agent (e g , in a local cache implementation for a browser), at an intermediary mformation service (e g , at a proxy server, at a transparent cache, or at an mformation server to which requests are redirected), or at authoritative information server (or servers) for the requested information objects Particular encodings of embedded objects are merely exemplary More generally, plural instances may be provided for components described herem as a smgle mstance Finally, boundaries between various components, services, and data stores are somewhat arbitrary, and particular operations are illustrated in the context of specific illustrative configurations Other allocations of functionality are envisioned and may fall within the scope of claims that follow Structures and functionality presented as discrete components m the exemplary configurations may be implemented as a combined structure or component These and other variations, modifications, additions, and improvements may fall within the scope of the mvention as defined m the claims that follow

Claims: WHAT IS CLAIMED 1 A method of improving performance in a distributed information resource environment, the method comprising retrieving a first information object coπesponding to a first identifier, the first information object itself mcludmg a second identifier coπesponding to a second information object, retrieving the second mformation object, and thereafter supplying, in response to the first resource identifier, an mformation encodmg of the first mformation object embeddmg the second information object 2 The method of claim 1 , wherein the supplied information encoding includes a markup language encoding with a literal representation of the first information object mcluded therein 3 The method of claim 1 , wherein the retrieved information object includes a markup language encoding with a reference to an external encoding of the first mformation object 4 The method of claim 1 , wherein in the receivmg, the retrieving of first and second information objects, and the supplymg are performed by a proxy server, and wherein the retπevmg of first and second mformation objects is from one or more mformation servers therefor 5 The method of claim 1, further compπsmg receiving the first identifier from a web browser, and in response thereto, supplying the web browser with the information encodmg of the first information object embedding the second information object 6 The method of claim 1 , wherein the first information object includes a Hypertext Markup Language (HTML) encodmg of a web page, wherein the second identifier includes a Uniform Resource Locator (URL), and wherein the second information object includes one or more of an image encodmg, a moving picture or video encoding, an audio encoding, an application or applet encoding, and a text or HTML encodmg 7 The method of claim 1, further compπsmg receivmg the first identifier from a user agent, and performing the retrieving of at least one of the first and second mformation objects m response thereto 8 A method of operating a network cache, the method compπsmg m response to an information request for a first mformation object that itself includes an identifier for a second information object, obtaming both the first and the second information objects, and supplying an information encodmg of the first information object with the second mformation object embedded therein 9 The method of claim 8, wherein the obtained first information object encodes the second information object by reference, and wherein the supplied first information object encodes the second information object as a literal 10 The method of claim 8, wherein the obtained first information object encodes the second information object using a resource retrieval markup element and attributes, and wherein the supplied first information object encodes the second information object as a literally included object and attributes 11 The method of claim 8, wherein the obtaining of at least one of the first and the second mformation objects is from a data store local to the network cache 12 The method of claim 8, wherein the obtaining of at least one of the first and the second mformation objects is from an information server displaced from the network cache by at least a communications link 13 The method of claim 8, further comprising storing the instances of first and second mformation objects m a data store local to the network cache, and thereafter performing the supplying usmg the stored instances 14 In an hypermedia information environment, a method of improvmg performance, the method comprising caching a first information object and an additional information object, wherem a primary uncached representation the first information object includes a hypermedia link identifying the additional information object, and supplying m response to a request for the first information object, a second representation of the first information object, the second representation including a literal encoding of the additional information object 15 A cache for a computer network mcludmg at least one information server and at least one client agent, wherem at least one first mformation object served by the least one information server mcludes a reference to at least one other mformation object, the cache compπsmg a data store, and a mformation service mterface responsive to requests for the first information object, whereby in response to at least some requests therefor, the information service interface supplies an encodmg of the first information object with the other information object literally encoded therein, wherem at least one of the first information object and the other mformation object is supplied from the data store rather than from the least one information server 16 The cache of 15, configured as a proxy cache, wherem the cache receives the requests for the first mformation object from the client agent as a proxy for the at least one mformation server 17 The cache of 15, configured as a transparent proxy cache, wherem the cache intercepts the requests for the first mformation object from the client agent and services the requests m lieu of the at least one information server 18 The cache of 15, configured as a transparent proxy cache with redirection, wherein the requests for the first information object from the client agent are redirected to the cache by a redirector, and wherem the cache receives the redirected requests for the first information object from the client agent as a proxy for the at least one mformation server 19 A method of mak g a computer readable encodmg coπespondmg to a first information object that itself includes a reference to a second mformation object, the method comprising cachmg both the first and the second mformation objects, and embeddmg a literal representation of the second information object in a representation of the first mformation object for supply m response to a request for the first information object 20 The method of claim 19, further compπsmg supplymg, in response to a request for the first mformation object, the computer readable encodmg embeddmg the literal representation of the second mformation object in the representation of the first information object 21 A computer program product encoded in computer readable media and comprising instructions executable to receive a request for a first information object and to retrieve an encodmg of the first information object from a local cache, if available, and otherwise from a first mformation service therefor, and lnstructions executable to supply, in response to the request, the first information object with a literal encoding of a second mformation object included therem, wherein the first information object, as served by the first information service, includes a reference to, rather than a literal encoding of, the second mformation object 22 An apparatus comprising means for receiving a request for a first mformation object served by a first information service, wherein the first information object, as served by the first information service, mcludes a reference to a second information object, and means for supplying, in response to the request, an encoding of the first information object with a literal encoding of the second mformation object included therein

Inventors: CASELLA KAREN A, CASELLA, KAREN, A.
Applicants: SUN MICROSYSTEMS INC, SUN MICROSYSTEMS, INC.
Application year: 2000
Main classification: G06F17
IPC codes: G06F17