2
カスタムドメインを使用しているWebアプリケーションがあります。このドメインには、151.101.1.195と151.101.65.195にマップされたAレコードがあります。Firebaseのホストヘッダールールでドメインルートをターゲットにする方法
すべてが正常に動作しますが、私はこのようなfirebase.jsonているとき:
{
"hosting": {
"public": "dist",
"headers": [{
"source": "**/*.html",
"headers": [{
"key": "Cache-Control",
"value": "private, max-age=0, no-cache"
}]
}]
}
}
私はhttps://mycustomdomain.comを訪れたとき、私はまだこのようなレスポンスヘッダを参照してください。
accept-ranges:bytes
cache-control:max-age=3600
content-encoding:gzip
content-length:839
content-type:text/html; charset=utf-8
date:Wed, 27 Sep 2017 06:54:58 GMT
etag:"f0b36e6c2a348eb46d07907fea856e9a"
last-modified:Wed, 27 Sep 2017 06:53:07 GMT
server:nginx
status:200
strict-transport-security:max-age=31556926
vary:Accept-Encoding
via:1.1 varnish
x-cache:HIT
x-cache-hits:2
x-powered-by:Express
x-served-by:cache-bma7024-BMA
x-timer:S1506495298.256593,VS0,VE0
私はキャッシュ制御を期待しますヘッダーは変更されますが、変更されません。
ドメインルートのレスポンスヘッダーを変更するにはどうすればよいですか?お探しの方のために