Third-Party Window for Webpage Loading Time Measurement
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Content providers face challenges in measuring the loading time performance of external content linked to their webpages from a user's perspective, as obtaining explicit approval to insert scripts for measurement is impractical and not scalable.
Innovation Solution
A third-party window, such as an iFrame or web view, is inserted into the webpage with a hidden style attribute to collect resource timing data without disrupting the user experience, allowing for the measurement of loading time performance of target webpages, and recommendations can be generated based on this data to improve loading times.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If a script is inserted into external content to measure loading time performance, then measurement capability is improved, but implementation complexity and scalability deteriorate due to requiring explicit approval from external content providers
Solution Approach 1:
The patent introduces a content delivery network (CDN) as an intermediary between the webpage and external content providers. The CDN embeds a third-party window (iFrame) that loads the external content, allowing resource timing data to be collected without requiring direct script insertion into the external content provider's code. This mediator approach enables measurement while avoiding the need for explicit approval from external content providers.
Solution Approach 2:
Instead of modifying the original external content with measurement scripts, the patent creates a copy of the external content within a third-party window controlled by the CDN. This copy allows for resource timing data collection through browser APIs without altering the original external content provider's implementation, thus avoiding the need for their approval while maintaining measurement capability.
2Measurement precision
If resource timing data is collected from multiple client devices, then measurement accuracy is improved, but data processing complexity increases
Solution Approach 1:
The patent implements a self-service mechanism where each client device's browser automatically collects and reports resource timing data back to the CDN through beacon requests. This automated self-service approach eliminates the need for complex manual data collection processes, reducing data processing complexity while maintaining high measurement accuracy through aggregation of data from multiple sources.
Data Source
AI summary
One or more computing devices, systems, and/or methods for generating a recommendation for increasing loading time performance of a target webpage are provided. For example, a third party window, specifying a target webpage as a source, is inserted into a webpage. The webpage is provided to a browser that displays the webpage and loads the target webpage into the third party window. Resource timing data, associated with loading the target webpage into the third party window, is retrieved. Loading time performance of the target webpage is measured based upon the resource timing data. A recommendation for increasing loading time performance of the target webpage is generated. In an example, an action such as a resource allocation change for hosting the target webpage, compression of an image of the target webpage, a connection reduction of files connected to by the target webpage, etc. is performed based upon the recommendation.


