# Firefox loading raw HTML, instead of rendering the page as designed

**URL:** <https://www.ruby-forum.com/t/firefox-loading-raw-html-instead-of-rendering-the-page-as-designed/128925>\
**Category:** Rails\
**Created:** [February 12, 2008, 6:47pm UTC](https://www.ruby-forum.com/t/firefox-loading-raw-html-instead-of-rendering-the-page-as-designed/128925 "2008-02-12T18:47:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![LAB](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/ba8739/32.png) [@LAB](https://www.ruby-forum.com/u/LAB)\
**Post date:** [February 12, 2008, 6:47pm UTC](https://www.ruby-forum.com/t/firefox-loading-raw-html-instead-of-rendering-the-page-as-designed/128925/1 "2008-02-12T18:47:18Z")

</div>

Using Rails 2.0.2, I have built a simple web app. Every time I use  
Firefox to load any page for that web app, it is extremely slow, and  
according to the log files, it completes the specified action in the  
controller, but what is shows in the browser, is just raw HTML. If I  
refresh the page, it loads properly. Using Safari and IE, I have not  
seen the problem, but other user’s of my web app are having the same  
problem with Firefox only.

Has anyone else seen this problem? I thought maybe the webserver is  
too slow or small to handle my simple ruby app, but since I am only  
seeing the problem in firefox, I am not convinced. Any other  
thoughts? Thanks in advance!

---

<div class="post-metadata">

**Author:** ![LAB](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/ba8739/32.png) [@LAB](https://www.ruby-forum.com/u/LAB)\
**Post date:** [February 12, 2008, 9:08pm UTC](https://www.ruby-forum.com/t/firefox-loading-raw-html-instead-of-rendering-the-page-as-designed/128925/2 "2008-02-12T21:08:54Z")

</div>

Actually … here is more information … This is appended to the top  
of the raw HTML:

Loaded suite dispatch.cgi  
Started

Finished in 0.000234 seconds.

0 tests, 0 assertions, 0 failures, 0 errors  
HTTP/1.1 304 Not Modified  
Date: Tue, 12 Feb 2008 20:03:37 GMT  
Server: Apache/2.2.6 (Unix) mod\_ssl/2.2.6 OpenSSL/0.9.8g DAV/2  
mod\_auth\_passthrough/2.1 mod\_bwlimited/1.4 FrontPage/5.0.2.2635  
Connection: Keep-Alive  
Keep-Alive: timeout=15, max=99  
ETag: “3ed38808c3c19b71b0747d7a47ed5a2d”  
Cache-Control: private, max-age=0, must-revalidate

Loaded suite dispatch.cgi  
Started

Finished in 0.000134 seconds.

0 tests, 0 assertions, 0 failures, 0 errors

… then my raw HTML is dumped here …

Maybe it is fixable via a config setting in my app or on the web  
server? Happens ONLY in Firefox and ONLY when the server is running  
slow, it seems anyway. A refresh to the page renders properly.

Thanks!!

---

<div class="post-metadata">

**Author:** ![LAB](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/ba8739/32.png) [@LAB](https://www.ruby-forum.com/u/LAB)\
**Post date:** [February 13, 2008, 1:51am UTC](https://www.ruby-forum.com/t/firefox-loading-raw-html-instead-of-rendering-the-page-as-designed/128925/3 "2008-02-13T01:51:49Z")

</div>

I am using the file\_column plugin, and this seemed to be producing the  
message. I fixed it by opening the file vendor/plugin/file\_…/  
init.rb and removing the line require “test\_case”.
