You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,9 @@ $server = new Server([
29
29
'robots.txt',
30
30
'favicon.ico',
31
31
],
32
+
[ // Optional, array with headers to include in the cache
33
+
'Content-Type',
34
+
],
32
35
new ArrayCache() // Optional, will default to ArrayCache but any CacheInterface cache will do: https://github.com/reactphp/react/wiki/Users#cache-implementations
0 commit comments