Skip to content

Commit f6edd28

Browse files
authored
Merge pull request #214 from openreplay/timings
2 parents 2476961 + 6aa04bb commit f6edd28

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

src/i18n/en/nav.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,7 @@ const nav: NavItem = {
375375
{ text: 'Sourcemaps Issues', slug: 'troubleshooting/sourcemaps', children: [] },
376376
{ text: 'Supported Browsers', slug: 'troubleshooting/supported-browsers', children: [] },
377377
{ text: 'Deployment Issues', slug: 'troubleshooting/deployment-issues', children: [] },
378+
{ text: 'Network Resources', slug: 'troubleshooting/network-resources', children: [] },
378379
]
379380
},
380381
{
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: "Network Resources Issues"
3+
metaTitle: "Network Resources Issues"
4+
metaDescription: "Issues with recording network resources."
5+
---
6+
7+
When CORS is in effect, many of the timing properties' values are returned as zero unless the server's access policy permits these values to be shared. This requires the server providing the resource to send the Timing-Allow-Origin HTTP response header with a value specifying the origin or origins which are allowed to get the restricted timestamp values.
8+
9+
This is particularly important for cross-origin resources, such as those loaded from a different domain than the one serving the main page. If the Timing-Allow-Origin header is not set correctly, OpenReplay will not be able to record the timing information for these resources.
10+
11+
For example, to allow https://app.openreplay.com to see resource timing information, the cross-origin resource should send:
12+
13+
```http
14+
Timing-Allow-Origin: https://app.openreplay.com
15+
```
16+
17+
## Have questions?
18+
19+
If you have any questions about this process, feel free to reach out to us on our [Slack](https://slack.openreplay.com) or check out our [Forum](https://forum.openreplay.com).

0 commit comments

Comments
 (0)