发明名称 Aggregating plug-in requests for improved client performance
摘要 In one embodiment, computer-readable instructions, when executed, cause a client browser to wait for all of the markup language in a document object model to be loaded, and upon loading, parse the document object model for supported tags, create placeholder frames for each supported tag, and bundle all the tags into a single meta-request for a server. Upon receiving each response, the instructions are further operable to cause the client browser to replace the hidden frames with its corresponding response, thereby reducing the number of socket connections from the client to the server.
申请公布号 US9058401(B2) 申请公布日期 2015.06.16
申请号 US201113211213 申请日期 2011.08.16
申请人 Fabebook, Inc. 发明人 Jiang Changhao;Shah Naitik Hemant
分类号 G06F15/16;G06F17/30 主分类号 G06F15/16
代理机构 Baker Botts L.L.P. 代理人 Baker Botts L.L.P.
主权项 1. A non-transitory computer-readable storage media comprising instructions operable when executed to: in response to loading a document object model (DOM), identify a plurality of supported tags in the DOM, wherein: each of the supported tags represents a request to retrieve a dedicated object from a server of a social-networking system and instructions to generate a frame for display on a webpage; andeach of the requests is operable to retrieve a dedicated object from the social-networking system, the dedicated object being executable on the webpage to access information from the social-networking system or to perform an action on the social-networking system; generate a placeholder frame for each of the supported tags; generate a unique identifier for each of the placeholder frames; combine the requests into a single request, wherein the single request is associated with a hidden frame that comprises the unique identifier of each placeholder frame and one or more parameters associated with each placeholder frame; send the single request to the server of the social-networking system; progressively receive, in response to the single request, one or more dedicated objects from the server of the social-networking system; and populate the placeholder frames with the dedicated objects.
地址 Menlo Park CA US