Patent ID: 7373594

Claim:
A method in a computing system for serving both a live version of a web page and a preview version of the web page, the web page incorporating a resource, comprising: in a web server program: receiving a request for a version of a web page containing a resource, wherein the requested version of the web page is either a live version of the web page or a preview version of the web page that provides a preview of the live version of the web page as it will appear after a set of specified changes is applied; in response to receiving the request: retrieving a single template defining the web page; executing an instruction comprising a single path of execution in the retrieved template to make a call to a resource version retrieval service; in the resource version retrieval service, in response to the call: identifying a version of the resource specified for the live version of the web page if the request was for the live version of the web page; identifying a version of the resource specified for the preview version of the web page if the request was for the preview version of the web page; and providing the identified version of the resource to the web server program for incorporation in the web page served in response to the request.