3時間くらい延々とハマったのでメモ
ResponseCacheAttributeを設定すると、その設定通りのレスポンスヘッダが設定されるが、出力するhtmlの中(Razorの中)にformタグがあるとCSRF対策が機能するため(要出典)、no-store no-cacheなレスポンスヘッダとなる。
Go to list of users who liked
More than 5 years have passed since last update.
3時間くらい延々とハマったのでメモ
ResponseCacheAttributeを設定すると、その設定通りのレスポンスヘッダが設定されるが、出力するhtmlの中(Razorの中)にformタグがあるとCSRF対策が機能するため(要出典)、no-store no-cacheなレスポンスヘッダとなる。
Register as a new user and use Qiita more conveniently
Go to list of users who liked