搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Sometimes HTML source is being shown instead of rendering it

  • 6 回覆
  • 7 有這個問題
  • 13 次檢視
  • 最近回覆由 anjesh1704

more options

Sometimes my webpage shows the html source instead of rendering. If i refresh the page it shows my page correctly. My html tags are correct and i have added meta tag 'meta http-equiv="content-type" content="text/html; charset=utf-8"' on the page head. It doesn't happen in IE8. The behavior is too random as the page which shows error might not show again if i access it after sometime so providing the URL might not be useful. I am using firefox version 7.0.1.

Sometimes my webpage shows the html source instead of rendering. If i refresh the page it shows my page correctly. My html tags are correct and i have added meta tag 'meta http-equiv="content-type" content="text/html; charset=utf-8"' on the page head. It doesn't happen in IE8. The behavior is too random as the page which shows error might not show again if i access it after sometime so providing the URL might not be useful. I am using firefox version 7.0.1.

所有回覆 (6)

more options

The default of the pref network.http.max-connections has been increased from 30 to 256 in Firefox 6+ versions.

You can try to decrease the value of the pref network.http.max-connections from 255 to a more modest setting like 30 as used in Firefox 3 versions.

more options

I have tried doing that but still the page is showing html source.

more options

Reload web page(s) and bypass the cache.

  • Press and hold Shift and left-click the Reload button.
  • Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
  • Press "Cmd + Shift + R" (MAC)

See also:

more options

It doesn't seem to be a cache issue as the html page renders properly once i do simple refresh. The issue happens once in a blue moon and if i refresh the page it shows properly.

more options

This might happen due to Installed Download Manager or any application that attached itself to a browser ex. ( ultra surf. ).

Deactivate it and try to refresh the page.

if xhtml or jsf is not taking by firefox lower version then add <f:view contentType="text/html"/> after and before Hope this help.

more options

My firefox is clean. It just has the firebug in Add-ons. I have added content type to my jsp page but still its showing the html source.