File tree 3 files changed +21
-3
lines changed
3 files changed +21
-3
lines changed Original file line number Diff line number Diff line change 1
1
### HEAD
2
2
3
- * Add configs for files marked as ` text/javascript ` .
3
+ * Add example on how to allow cross-origin access to the resource's
4
+ timing information.
5
+ * Add configs for files marked as ` text/javascript `
4
6
[[ db69327] ( https://github.com/h5bp/server-configs-apache/commit/db6932740a90a36cbbf8b38627fc034d595471c0 )] .
5
7
* Add configs for JSON Schema files (` .json ` )
6
8
[[ #39 ] ( https://github.com/h5bp/server-configs-apache/issues/39 )] .
Original file line number Diff line number Diff line change 10
10
# ##############################################################################
11
11
12
12
# ------------------------------------------------------------------------------
13
- # | Cross-domain requests |
13
+ # | Cross-origin requests |
14
14
# ------------------------------------------------------------------------------
15
15
16
16
# Allow cross-origin requests.
33
33
</FilesMatch >
34
34
</IfModule >
35
35
36
+ # ------------------------------------------------------------------------------
37
+ # | Cross-origin resource timing |
38
+ # ------------------------------------------------------------------------------
39
+
40
+ # Allow cross-origin access to the timing information for all resources.
41
+
42
+ # If a resource isn't served with a `Timing-Allow-Origin` header that would
43
+ # allow its timing information to be shared with the current document, some of
44
+ # the attributes of the `PerformanceResourceTiming` object will be set to zero.
45
+
46
+ # http://www.w3.org/TR/resource-timing/
47
+
48
+ # <IfModule mod_headers.c>
49
+ # Header set Timing-Allow-Origin: "*"
50
+ # </IfModule>
51
+
36
52
# ------------------------------------------------------------------------------
37
53
# | CORS-enabled images |
38
54
# ------------------------------------------------------------------------------
Original file line number Diff line number Diff line change 6
6
# ##############################################################################
7
7
8
8
# ------------------------------------------------------------------------------
9
- # | Cross-domain requests |
9
+ # | Cross-origin requests |
10
10
# ------------------------------------------------------------------------------
11
11
12
12
<IfModule mod_headers.c >
You can’t perform that action at this time.
0 commit comments