build(aio): use http push for navigation.json

This commit is contained in:
Peter Bacon Darwin 2017-07-17 21:48:35 +01:00 committed by Alex Rickabaugh
parent 441e01c568
commit fc86352adf
1 changed files with 11 additions and 0 deletions

View File

@ -44,6 +44,17 @@
"source": "**/!(*.*)",
"destination": "/index.html"
}
],
"headers": [
{
"source": "/",
"headers": [
{
"key": "Link",
"value": "</generated/navigation.json>;rel=preload;as=fetch,</generated/docs/index.json>;rel=preload;as=fetch"
}
]
}
]
}
}