LoginSignup
4
4

More than 5 years have passed since last update.

FireFoxのスーパーリロード時(Shift + Cmd + R)に変化するHTTPリクエストヘッダ

Last updated at Posted at 2013-07-23

この記事は最終更新から1年以上経過しています。 気をつけてね。

ふと気になったのでブラウザのスーパーリロード時にブラウザが投げるヘッダをチェックしてみた、FireFoxではShift + Cmd + Rだ。

ああ、Pragma: no-cacheが付いて、Cache-Control:no-cacheになると。httpサーバの設定でよく見るね。

ただのCmd+R

Cmd+R
$ echo hoge | nc -l 8080
GET / HTTP/1.1
Host: xxx.xxx.xxx.xxx:8080
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:22.0) Gecko/20100101 Firefox/22.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: ja,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate
Connection: keep-alive
Cache-Control: max-age=0

Shift+Cmd+R

Shift+Cmd+R
$ echo hoge | nc -l 8080
GET / HTTP/1.1
Host: xxx.xxx.xxx.xxx:8080
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:22.0) Gecko/20100101 Firefox/22.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: ja,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
4
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
4