How long do browsers cache HTTP 301s?

前端 未结 15 2406
囚心锁ツ
囚心锁ツ 2020-11-22 14:43

I am debugging a problem with a HTTP 301 Permanent Redirect. After a quick test, it seems that Safari clears its cache of 301s when it is restarted, but Firefox does not.

15条回答
  •  孤城傲影
    2020-11-22 15:20

    I have simple solution that worked on all major browser (latest version), includes IE, Chrome and FF

    1. Ctrl + Shift + Del
    2. -
      1. Chrome: Select "Browsing History" and "Cache..."
      2. IE: I leave default option "Temporary Internet files and website files", "Cookies and website data", "History"
      3. FF: "Browsing and Download history", "Cache"
    3. Click "Delete"
    4. Close and reopen your browser. It should work

提交回复
热议问题