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

前端 未结 12 1545
你的背包
你的背包 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:37

    "View Generated Source" is not the same source code you get with "View Source".

    View Generated Source "improves" the code, parsing the html, adding newlines among tags, changing attributes order (width="100%" cellpadding="0" => cellpadding="0" width="100%"), adding attributes values (nowrap => nowrap="nowrap") and tags (tbody from nowhere), etc.

    You might think this is better, but if you want to compare the old generated source with the actual file, it's useless.

    Your best bet is search the directory cache.

    Regards

提交回复
热议问题