Microsoft Edge is seeking developer feedback on a new feature aimed at enhancing control over the performance of embedded web content. This proposal introduces Document Policy configurations to help developers manage the performance impact of third-party iframes and shared components. By implementing constraints and reporting violations, developers can optimize their applications and improve user experiences.

Microsoft Edge’s New Proposal: Control Embedded Web Content Performance
Microsoft Edge has recently announced an exciting new feature proposal that aims to enhance the performance of embedded web content. This initiative is designed to give developers more control over how embedded content impacts their applications or websites. Let’s dive into what this means for you!
What’s New?
The proposal introduces Document Policy configurations that allow developers to manage the performance impact of embedded content. This includes third-party iframes or shared components from within your organization. As Microsoft notes, “Being able to minimize the performance impact of the content you embed is crucial to improving the overall performance of your site or app.”
Major Updates
Here are the key updates that developers should know:
- Basic Policy: Enforces fundamental web development best practices to optimize performance.
- Early-Script Policy: Imposes JavaScript constraints to minimize performance issues before user interaction.
- Globals Policy: Limits overall media and system resource usage during interactions.
- Script Policy: Enforces strict JavaScript restrictions post-load to enhance performance.
Violations of these policies will be reported through the Reporting API, enabling developers to make informed decisions. For instance, oversized assets can be blocked, and scripts that exceed limits can be paused.
What’s Important to Know?
This proposal is not just about performance; it’s about enhancing the user experience. Developers can now align with producers of embedded content to ensure compliance with best practices. As Microsoft states, “We’re looking for feedback on this proposal… to help us shape it.”
Imagine a complex app embedding real-time content. By applying these new policies, developers can ensure that animations pause when users aren’t interacting. This leads to a smoother experience and better resource management.
Get Involved!
Microsoft is eager to hear your thoughts on this proposal. If you’re interested in shaping this API, consider reading the explainer and sharing your feedback by opening a new issue on their repository.
“We’re very excited about how this proposal can give you more control of your app’s performance.”
Stay tuned for more updates as this feature evolves. Your insights could play a vital role in shaping the future of embedded web content performance!
From the Windows Blog