Last updated on
Response does not support the following options: "must-revalidate"
在 laravel 7 設置 cache 時遇到了這個錯誤
Response does not support the following options: “must-revalidate”
原本的寫法:
cache.headers:must-revalidate
修改後:
cache.headers:must_revalidate
結論:
只是把 - 改成 _ 而已, 基本上是蠻常見的設定, 所以網上好像沒啥人討論