Aggregating Plug-In Requests for Improved Client Performance

    公开(公告)号:US20180034899A1

    公开(公告)日:2018-02-01

    申请号:US15725124

    申请日:2017-10-04

    Applicant: Facebook, Inc.

    Abstract: 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.

    Efficient storage and retrieval of resources for rendering structured documents
    12.
    发明授权
    Efficient storage and retrieval of resources for rendering structured documents 有权
    有效地存储和检索用于渲染结构化文档的资源

    公开(公告)号:US09521184B2

    公开(公告)日:2016-12-13

    申请号:US14199850

    申请日:2014-03-06

    Applicant: Facebook, Inc.

    CPC classification number: H04L67/02 G06F17/2247 G06F17/30902

    Abstract: In one embodiment, a method includes accessing local storage on a computing device to render a structured document. The structured document corresponds to a first domain or sub-domain and includes an inline-frame element that corresponds to a second domain or sub-domain. The local storage includes one or more first local-storage slots that are reserved for resources associated with the first domain or sub-domain and one or more second local-storage slots that are reserved for resources associated with the second domain or sub-domain. The method further includes loading one or more resources for rendering the structured document from the first local-storage slots and loading one or more resources for rendering the structured document from the second local-storage slots.

    Abstract translation: 在一个实施例中,一种方法包括访问计算设备上的本地存储以呈现结构化文档。 结构化文档对应于第一域或子域,并且包括对应于第二域或子域的内联帧元素。 本地存储器包括为与第一域或子域相关联的资源而保留的一个或多个第一本地存储时隙和为与第二域或子域相关联的资源而保留的一个或多个第二本地存储时隙。 该方法还包括加载用于从第一本地存储时隙呈现结构化文档的一个或多个资源,并加载用于从第二本地存储时隙渲染结构化文档的一个或多个资源。

    Efficient storage and retrieval of resources for rendering structured documents
    13.
    发明授权
    Efficient storage and retrieval of resources for rendering structured documents 有权
    有效地存储和检索用于渲染结构化文档的资源

    公开(公告)号:US09509748B2

    公开(公告)日:2016-11-29

    申请号:US14199788

    申请日:2014-03-06

    Applicant: Facebook, Inc.

    CPC classification number: H04L67/02 G06F17/2247 G06F17/30902

    Abstract: In one embodiment, a method includes accessing local storage on the computing device. The local storage includes multiple local-storage slots that each currently correspond to a domain or sub-domain and includes one or more resources for a structured document associated with the particular domain or sub-domain. Each of the resources has a timestamp indicating when it was last used by the computing device. The method further includes identifying based on the timestamps one or more resources to be discarded from the local storage.

    Abstract translation: 在一个实施例中,一种方法包括访问计算设备上的本地存储器。 本地存储器包括多个本地存储槽,每个存储槽当前对应于域或子域,并且包括与特定域或子域相关联的结构化文档的一个或多个资源。 每个资源都有一个时间戳,指示何时被计算设备使用。 该方法还包括基于时间戳来识别要从本地存储器中丢弃的一个或多个资源。

    PHASED GENERATION AND DELIVERY OF STRUCTURED DOCUMENTS
    14.
    发明申请
    PHASED GENERATION AND DELIVERY OF STRUCTURED DOCUMENTS 审中-公开
    定期生成和交付结构化文档

    公开(公告)号:US20160314101A1

    公开(公告)日:2016-10-27

    申请号:US15174297

    申请日:2016-06-06

    Applicant: Facebook, Inc.

    CPC classification number: G06F17/2247 G06F16/9577 G06F17/227

    Abstract: In one embodiment, a method includes receiving a request for a web page; sending a first response portion for generating the requested web page to a client computing device that includes a structured document place-holder code segments and executable code for implementing a page-assembling process; generating second response portions each for generating a corresponding portion of the requested web page that each include a call to a function of the page-assembling process; determining relative priorities of the second response portions; sending the second response portions to the client computing device in an order based on the determined relative priorities; and wherein the page-assembling process is configured to insert, or cause to be inserted, at a location determined by a corresponding one of the place-holder code segments, the second portions of content into a model representation of the structured document generated by a client rendering application.

    Abstract translation: 在一个实施例中,一种方法包括接收对网页的请求; 向客户计算设备发送用于生成所请求的网页的第一响应部分,所述客户端计算设备包括用于实现页面组装过程的结构化文档占位符代码段和可执行代码; 生成第二响应部分,每个响应部分用于生成所请求的网页的对应部分,每个部分包括对所述页面组装过程的功能的调用; 确定第二响应部分的相对优先级; 基于所确定的相对优先级,以所述顺序将所述第二响应部分发送到所述客户端计算设备; 并且其中所述页面组装过程被配置为在由所述占位符代码段中的相应一个所确定的位置处插入或者将其插入到所述内容的第二部分到由所述结构化文档生成的所述结构化文档的模型表示中 客户端渲染应用程序。

    Phased generation and delivery of structured documents
    15.
    发明授权
    Phased generation and delivery of structured documents 有权
    阶段性生成和交付结构化文档

    公开(公告)号:US09361281B2

    公开(公告)日:2016-06-07

    申请号:US14300075

    申请日:2014-06-09

    Applicant: Facebook, Inc.

    CPC classification number: G06F17/2247 G06F17/227 G06F17/30905

    Abstract: In one embodiment, a method includes receiving a request for a web page, sending a first response portion for generating the requested web page to a client computing device that includes a structured document including a page-assembling process, generating one or more second response portions each for generating a corresponding portion of the requested web page that each include a call to the page-assembling process, transmitting the second response portions to the client computing device, and wherein the page-assembling process is configured to, responsive to a call corresponding to a respective second response portion, insert, or cause to be inserted, content, resources, or calls to resources included in the respective second response portion into a model representation of the structured document generated by a client rendering application at a location in the model representation determined by a corresponding place-holder code segment included in the structured document.

    Abstract translation: 在一个实施例中,一种方法包括接收对网页的请求,向包括结构化文档的客户端计算设备发送用于生成所请求的网页的第一响应部分,所述结构化文档包括页面组装过程,生成一个或多个第二响应部分 每个用于生成所请求的网页的对应部分,每个部分包括对所述页面组装过程的调用,将所述第二响应部分发送到所述客户端计算设备,并且其中所述页面组装处理被配置为响应于对应的呼叫 到相应的第二响应部分,将包括在相应的第二响应部分中的资源的内容,资源或调用插入到或插入到该模型中的客户呈现应用程序生成的结构化文档的模型表示中 由结构化文档中包括的对应的持有人代码段确定的表示。

    AGGREGATING PLUG-IN REQUESTS FOR IMPROVED CLIENT PERFORMANCE
    16.
    发明申请
    AGGREGATING PLUG-IN REQUESTS FOR IMPROVED CLIENT PERFORMANCE 审中-公开
    积极提出改进客户绩效的要求

    公开(公告)号:US20150237120A1

    公开(公告)日:2015-08-20

    申请号:US14705374

    申请日:2015-05-06

    Applicant: Facebook, Inc.

    Abstract: 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.

    Abstract translation: 在一个实施例中,计算机可读指令在执行时使得客户端浏览器等待文档对象模型中的所有标记语言被加载,并且在加载时,解析所支持的标签的文档对象模型,为 每个支持的标签,并将所有标签捆绑到服务器的单个元请求中。 在接收到每个响应时,指令进一步可操作以使客户机浏览器用其相应的响应替换隐藏帧,从而减少从客户端到服务器的套接字连接的数量。

Patent Agency Ranking