coldfusioncoldfusion-9cfimport

Which file extensions are affected by ColdFusion's Trusted Cache


Which file extensions are cached by Trusted Cache? CFM and CFC are obvious ones, but what about CFR? Are there are other file extensions that are caught by Trusted Cache?

Some places I know/suspect that files enter the template cache are:

Are there other tags that will have the same effect of adding content into the template cache?


Solution

  • Unfortunately there isn't an official source for this information. However, it is possible, with a lot of work, to test each and every tag to see if the files end up in the Trusted Cache.

    Your first two bullet points are covered by Shawn Holmes' answer and Sean Corfield's answer, respectively.

    Bullet 3: cfmodule is limited to cfm files, so that extension is the only one you have to worry about there.

    Bullet 6: cfreport shouldn't enter the template cache, since it's converting the file, not compiling it for code to execute.