Sometimes HTML source is being shown instead of rendering it
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.
Alle svar (6)
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.
I have tried doing that but still the page is showing html source.
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:
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.
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.
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.