Copy link to clipboard
Copied
I recently immigrated my application from CF version 6 to version 8.
In CF version 6, it’s fast to load each page both in Firefox 3 and IE 7.
However in new cf version 8, it took much longer to load pages in Firefox 3 but in IE 7,it's still fast as usual.
Does anyone have ideas how this happens and how to solve this? Does it link to how firefox works with CF 8 and the CF code structure ?
(Most of my cfm files comprise of a couple of HTML forms)
Any comments and advice are very welcome and appreciated.
Copy link to clipboard
Copied
If the page is slow to load in Firefox, but not in IE it sounds like the client side rendering is slow rather than there being a server side issue. You could try a tool such as YSlow and/or Firebug to diagnose rendering issues on the broswer.
http://developer.yahoo.com/yslow/
Copy link to clipboard
Copied
I agree with Mr. Dobbs.
Firefox or any browser has NO concept of a ColdFusion "structure." All the browser knows is the HTML it has been told to render.
The process of a web application, be it ColdFusion, asp.net or php is this.
1) Browser makes a request to a web server, i.e. IIS or Apache.
2) The Web Server has been configured to hand off certain requests to an applicaiton server such as ColdFusion.
3) ColdFusion receives the request and processes it, building HTML, XML or whatever response it has been told to build.
4) The application server returns the response to the web server.
5) The web server returns the response to the browser.
6) The browser renders the HTML, XML or whatever else it has received as a response.
There just is not a direct connection between the browser and the ColdFusion application server. ColdFusion is not going to treat a request from an IE browser differently then a request from a Firefox browser or a Chrome browser or a browser you have built yourself.
Copy link to clipboard
Copied
Thanks guy.
I solved this problem by changing proxies configuration in Firefox from no proxy to manual proxy configuration. Then the page loading is very fast.
If u have any idea,how this makes difference, please give some comments. Very appreciated !
Copy link to clipboard
Copied
Do you have the same proxy configuration in both Firefox and IE when
Firefox has the problems ?
I can think of 2 reasons why using a proxy might work faster:
- you have a slow connection to the CF server and having a caching
proxy really helps here;
- you have debugging enabled for your IP but not for proxy's IP
(usually the difference is small but it depends on your definition of
"fast" and "slow" if it's significant for you).
Mack