根据Netlify docs for custom headers我可以创建使用自定义标头的路径
# use these headers for the /index.html file
/index.html
Cache-Control: max-age=31536000, public
但是,我似乎无法弄清楚是否可以让多个路径使用相同的标头,而不必为每个路径创建一个新条目
/*.js
Cache-Control: max-age=31536000, public
/*.css
Cache-Control: max-age=31536000, public
我已经尝试了以下方法,但都没有奏效
/*.js /*.css
Cache-Control: max-age=31536000, public
/*.js
/*.css
Cache-Control: max-age=31536000, public
/*.js, /*.css
Cache-Control: max-age=31536000, public