weserv / images

Source code of wsrv.nl (formerly images.weserv.nl), to be used on your own server(s).
https://wsrv.nl/
BSD 3-Clause "New" or "Revised" License
1.97k stars 193 forks source link

Add Timing-Allow-Origin header #311

Closed GitBoudewijn closed 2 years ago

GitBoudewijn commented 2 years ago

It would be nice if images had a Timing-Allow-Origin: * response header.

See here for an explanation:

https://developer.akamai.com/blog/2018/06/13/how-add-timing-allow-origin-headers-improve-site-performance-measurement

andrieslouw commented 2 years ago

Thank you, will check this!

kleisauke commented 2 years ago

This has been implemented with commit https://github.com/weserv/images/commit/8ef0fb99021e1aa8bcd7bfcbd2a0b7e41c1bcf4c, which has just been rolled out to production. Thanks for reporting this!