S

Shadow DOM

The Shadow DOM is a browser feature that allows developers to create a hidden, encapsulated DOM tree within a normal element. This "shadow" tree's styles and scripts are isolated from the main page. Speed Kit uses this technology to safely pre-render a predicted page in the background. By rendering the page inside a Shadow DOM, it ensures that the pre-rendered page's CSS and JavaScript do not conflict with or disrupt the page the user is currently viewing.

Fabian Krumbholz
April 8, 2026
1 min read
GET STARTED

Get a free preloading demo for your site

We analyze your website speed, identify web vitals issues, and compare your competitors.

Book free demo
iPhone 15 Device CheckLaser Scanner