2018-11-23 17:14:15 +01:00
|
|
|
# ----------------------------------------------------------------------
|
|
|
|
# | Cross-origin resource timing |
|
|
|
|
# ----------------------------------------------------------------------
|
|
|
|
|
|
|
|
# Allow cross-origin access to the timing information for all resources.
|
|
|
|
#
|
2019-05-15 18:38:05 +02:00
|
|
|
# If a resource isn't served with a `Timing-Allow-Origin` header that would
|
|
|
|
# allow its timing information to be shared with the document, some of the
|
|
|
|
# attributes of the `PerformanceResourceTiming` object will be set to zero.
|
2018-11-23 17:14:15 +01:00
|
|
|
#
|
|
|
|
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Timing-Allow-Origin
|
|
|
|
# https://www.w3.org/TR/resource-timing/
|
|
|
|
# https://www.stevesouders.com/blog/2014/08/21/resource-timing-practical-tips/
|
|
|
|
|
|
|
|
add_header Timing-Allow-Origin "*";
|