这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@marcelduran
Copy link
Contributor

This PR adds Timing-Allow-Origin (TAO) header to images. This allows any origin to read resource timing values from the images. e.g.:

performance.getEntriesByType('resource').filter(e => e.name.includes('picsum'))[0].transferSize // should be > 0

@DMarby
Copy link
Owner

DMarby commented Dec 6, 2022

Hi @marcelduran,

Thank you for your contribution, sorry about the delay on getting this merged!
This will be deployed shortly, but it may take a while until the header is present on all images, as the CDN cache will need to expire first, which generally takes around a month.

@DMarby DMarby merged commit e364eba into DMarby:main Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants