Can Firefox's “view source” be set to not make a new GET request?

前端 未结 12 1527
你的背包
你的背包 2020-12-13 05:50

This is sort of tangential to coding, but programmers often do \"view source\" on their own pages and on others\' pages. I learned that when you do the normal View Source in

12条回答
  •  感情败类
    2020-12-13 06:50

    To extend @Techn4k's answer: If you have those two properties set, but still get the re-GET or re-POST behavior, clear your browser cache: Go to about:preferences#advanced, click on the network tab, and click clear now (or similar) on the cache information part.

    This lets Firefox fetch and cache the page, so that no re-GET or re-POST appears.

提交回复
热议问题