aem-boilerplate
aem-boilerplate copied to clipboard
feat: Trusted Types with DOMPurify
Building on top of https://github.com/adobe/aem-boilerplate/pull/228 using the new Trusted Types API, that is currently supported just by Chrome.
Test urls: Before: https://main--aem-boilerplate--adobe.aem.live/ After: https://trusted-types--helix-project-boilerplate--andreituicu.aem.live/
Deep PSI:
- FCP:
976 (1018 ± 28.002) - LCP:
1051 (1131 ± 146.237) - SI:
976 (1018 ± 28.002)
The impact of ~10% increase of FCP/LCP/SI compared to the baseline we normally see on the boilerplate is expected, given the +9KB for DOMPurify as a rendering blocking resource.