IP Library Granted Patent US 9,058,401
Granted Patent B2
US 9,058,401 · App. 13/211,213 · Granted Jun 16, 2015

Aggregating plug-in requests for improved client performance

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,058,401
App. No.
13/211,213
Granted
Jun 16, 2015
Kind
B2
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.

Claims (48)

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; and

each 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.

2. The media of claim 1 , wherein each dedicated object comprises a JSON object or other HTML DOM object.

3. The media of claim 2 wherein each JSON object comprises a CSS file, HTML file, and JavaScript code.

4. The media of claim 1 , wherein each of the placeholder frames comprises a cached asset.

5. The media of claim 1 , wherein the placeholder frames each comprise an asset obtained from a domain having the same top-level domain as the server of the social-networking system.

6. A device comprising:

one or more processors;

one or more communication interfaces;

memory comprising instructions operable when executed by the one or more processors to:

receive a document request from a remote host;

transfer, through the one or more communications interfaces, the requested document, the requested document comprising a set of instructions to the remote host, the requested document further comprising a set of supported tags,

wherein the set of instructions is operable, when executed by the remote host, to:

in response to loading a document object model (DOM) for the requested document, identify the supported tags in the DOM, wherein:

each of the plug in calls 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; and

each 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, via the one or more communication interfaces, 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.

7. The device of claim 6 , wherein each dedicated object comprises a JSON or other HTML DOM object.

8. The device of claim 7 , wherein each JSON object comprises a CSS file, HTML file, and JavaScript code.

9. The device of claim 6 , wherein each of the placeholder frames comprises a cached asset.

10. The device of claim 6 , wherein the placeholder frames each comprise an asset obtained from a domain having the same top-level domain as the server of the social-networking system.

11. A method comprising, by one or more computing systems:

in response to loading a document object model (DOM), identifying 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; and

each 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;

generating a placeholder frame for each of the supported tags;

generating a unique identifier for each of the placeholder frames;

combining 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;

sending the single request to the server of the social-networking system;

progressively receiving, in response to the single request, one or more dedicated objects from the server of the social-networking system; and

populating the placeholder frames with the dedicated objects.

12. The method of claim 11 , wherein each dedicated object comprises a JSON object or other HTML DOM object.

13. The method of claim 12 wherein each JSON object comprises a CSS file, HTML file, and JavaScript code.

14. The method of claim 11 , wherein each of the placeholder frames comprises a cached asset.

15. The method of claim 11 , wherein the placeholder frames each comprise an asset obtained from a domain having the same top-level domain as the server of the social-networking system.

Assignments (1)
CHANGE OF NAME Recorded Dec 20, 2021
From: FACEBOOK, INC.
To: META PLATFORMS, INC.
Reel/Frame 058553/0802 →