Post
The other origin can “opt-in” to allow your site to give the actual render time if they believe it’s safe by setting the Timing-Allow-Origin HTTP Header, and many image CDNs do this. But if you have your own assets domain for serving images then maybe it doesn’t? If so, look into setting that!
0 reposts1 like
However, after a lot of work (primarily by @nomster.bsky.social !) we believe this was a somewhat needless restriction for images as the information was fairly trivially exposed in other ways and was causing more problems than it was solving by being restricted.
Here’s the full nerdy details for those interested: github.com/w3c/paint-ti... Or let me know if you have any questions!! /🧵
github.comConsider to expose decoding time for FCP and LCP? · Issue #104 · w3c/paint-timingI haven't get a chance to do a proper testing for this, so I'll just refer to Michal's slide for TPAC 2022. Based on the slides, Firefox and Safari doesn't wait for the image to be decoded for FCP,...