Re: HTM vs CFM Pages

2004-12-03 Thread Claude Schneegans
>>Is there any advantage or disadvantage to naming these pages with a HTM extension rather than a CFM extension? For the first request to the page, the difference is probabily not significant, for any subsequent call however, the HTML page will come directly from the client's cache, then much fa

Re: HTM vs CFM Pages

2004-12-03 Thread Claude Schneegans
>>that speed penalty only occurs in the firts load page right? After that the "compiled" class file will load very fast... right? Yes, but the same thing is true for a plain HTML file, since it will be read from the client's cache, it will be even faster. --

RE: HTM vs CFM Pages

2004-12-02 Thread Ben Rogers
By putting the cfm extension on the end of the page, you take a performance hit. If you're comparing it to returning a static page, the performance hit is huge. In the grand scheme of things, it's usually insignificant. If the site is mostly HTML with a couple of dynamic pages, then you'll probabl

Re: HTM vs CFM Pages

2004-12-02 Thread Michael Dinowitz
Don't think so unless you map it in the webserver. It seems to follow the webserver root, not the CF root. > Is it possible to use getPageContext().include() to access a file > which isn't under the webroot? > > Bert > > > On Thu, 2 Dec 2004 12:53:07 -0500, Michael Dinowitz > <[EMAIL PROTECTED]>

RE: HTM vs CFM Pages

2004-12-02 Thread Dave Watts
> that speed penalty only occurs in the firts load page right? After > that the "compiled" class file will load very fast... right? Assuming that the page doesn't actually do anything, it won't take long to execute. However, if all of the threads processing requests are busy, the page won't execut

Re: HTM vs CFM Pages

2004-12-02 Thread Nathan Strutz
No, there's always a performance penalty for making a page go through CF before the web server. HTML pages always (unless specifically set up otherwise) go straight from the hard disk to the web server to the browser. CFM pages always (uneless misconfigured or on purpose) go from the HDD to th

Re: HTM vs CFM Pages

2004-12-02 Thread Bert Dawson
Is it possible to use getPageContext().include() to access a file which isn't under the webroot? Bert On Thu, 2 Dec 2004 12:53:07 -0500, Michael Dinowitz <[EMAIL PROTECTED]> wrote: > CFINCLUDE will parse any page it includes, which means that it will look > through > the page for CF content to

Re: HTM vs CFM Pages

2004-12-02 Thread Michael Dinowitz
CFINCLUDE will parse any page it includes, which means that it will look through the page for CF content to evaluate. Doesn't matter if it's a plain html page or a CF one, doesn't matter what the extension is. If you are including html content into a CF page, it's better to use: getPageContext().in

Re: HTM vs CFM Pages

2004-12-02 Thread Marco Antonio C. Santos
Dave that speed penalty only occurs in the firts load page right? After that the "compiled" class file will load very fast... right? Cheers Marco On Thu, 2 Dec 2004 12:37:31 -0500, Dave Watts <[EMAIL PROTECTED]> wrote: > > When developing an entire website, I occasionally develop a page with >

Re: HTM vs CFM Pages

2004-12-02 Thread Mark Drew
There is no penalty if its htm as this wont get parsed at all by cfml Then again I doubt there is much parsing of a page (speed hit) if there are no cf tags MD On Thu, 2 Dec 2004 12:16:29 -0500, Claremont, Timothy <[EMAIL PROTECTED]> wrote: > When developing an entire website, I occasionally de

RE: HTM vs CFM Pages

2004-12-02 Thread Tim Blair
> Is there any advantage or disadvantage to naming these pages > with a HTM extension rather than a CFM extension? Is there a > speed penalty? A .cfm file will *always* be passed to the CF engine, so even if there's nothing for the engine to do, it's still got to break the page down etc, so ther

RE: HTM vs CFM Pages

2004-12-02 Thread Dave Watts
> When developing an entire website, I occasionally develop a page with > no CF-specific content whatsoever (although it happens remarkably > rarely). Is there any advantage or disadvantage to naming these pages > with a HTM extension rather than a CFM extension? Is there a speed > penalty? Ye

Re: HTM vs CFM Pages

2004-12-02 Thread Nathan Strutz
There's more likely a speed increase with plain HTML pages, because they require no server-side processing before sending the content. Some people just name all their files .cfm for continuity, others have their static files be .html, and have to pay close attention to where their links go. As