Skip to main content
Participant
April 28, 2010
解決済み

Absolute, Complete NOOB! Help me update a website.

  • April 28, 2010
  • 返信数 1.
  • 827 ビュー

Hi,

I am a complete Noob to CF, have somehow avoided up until this very day but find myself looking at a CF-based website written for a training company I am now consulting to (for various tasks, including updating their website.

For this website, some of the hyperlinks in the content have become broken and I've been tasked with updating them. I downloaded the static .cfm, have edited this in Dreamweaver, uploaded the .cfm back on to the server and....

Nothing has changed!

Do I have to somehow rebuild the content?

Please save me from tearing what little hair I have left out...

With thanks,

Peter

(I am currently completely embarassed that I've even had to ask this question!)

このトピックへの返信は締め切られました。
解決に役立った回答 ilssac

Yes CFML = ColdFusion Markup Language, which can be part of .cfm, cfc, cfr files and others if you care to monkey with the default file extensions.

Yes ColdFusion compiles CFML into JavaByte code before the file is executed.  This is done in a 'just in time' compilation method, i.e. when the file is requested by the web server (IIS, Apache, etc), ColdFusion will compile that file, execute the compiled code and send the results back to the web server.  The time it takes to compile the files can a proformance problem on busy, heavily used servers.  There are options to have ColdFusion save the compiled versions so that it does not have to do that compilation every time.  One can also configure whether ColdFusion checks the date-time of the compiled file with the date-time of the CFML source file to see if the source is newer or not, and thus if it should be recompiled.

If clearing the cache did not cause your changes to take affect, you will need to describe more about your setup.  This is not a place where ColdFusion has problems, it works as advertised.

返信数 1

ilssac
Inspiring
April 28, 2010

You may have to "Clear" the template cache.

This can be done from the ColdFusion Administrator.

ColdFusion can be configured to cache the compiled java btye code version of the CFML files it runs.  This can have a performance advantage on a production server.  But it means that changes to the CFML files may not be refleced until the compiled version is cleared and ColdFusion compiles the new version.

There is a button on the Administrator page to do this, or one can manually clear the complied directory.

pmiddo作成者
Participant
April 28, 2010

Thanks for your response Ian.

I cleared the template cahce as instructed but it has no effect.

Are the CFML files you talk about in some way compiled? My files are only CFM... (I've told you I'm completely new to this coldfusion stuff, haven't I? ) Or, are you simply refering to ColdFusion Markup Language when you say CFML?

Thanks once again for taking the time to respond. It is greatly appreciated.

Cheers,

Peter.

ilssac
ilssac解決!
Inspiring
April 29, 2010

Yes CFML = ColdFusion Markup Language, which can be part of .cfm, cfc, cfr files and others if you care to monkey with the default file extensions.

Yes ColdFusion compiles CFML into JavaByte code before the file is executed.  This is done in a 'just in time' compilation method, i.e. when the file is requested by the web server (IIS, Apache, etc), ColdFusion will compile that file, execute the compiled code and send the results back to the web server.  The time it takes to compile the files can a proformance problem on busy, heavily used servers.  There are options to have ColdFusion save the compiled versions so that it does not have to do that compilation every time.  One can also configure whether ColdFusion checks the date-time of the compiled file with the date-time of the CFML source file to see if the source is newer or not, and thus if it should be recompiled.

If clearing the cache did not cause your changes to take affect, you will need to describe more about your setup.  This is not a place where ColdFusion has problems, it works as advertised.