Skip to main content
Participating Frequently
June 26, 2024
Question

Clearing template cache (manually) on a Windows ColdFusion 2023 server?

  • June 26, 2024
  • 1 reply
  • 482 views

Hi!
 Is there a way to clear template cache manually on a Windows ColdFusion 2023 server, please?
We have multiple ColdFusion servers that point to a single location where our ColdFusion applications are stored. One specific application running from one specific server errors out, even after "clearing the template cache" using its ColdFusion Administrator.  This specific application runs just fine from all other ColdFusion servers.  Additionally, all  other applications that run from the server in question..  work just fine!
In the past, when we where on ColdFusion 2018, we had seen a similar problem and deleting the "cfclasses" directory and then clearing the "Template Cache" fixed the problem.  However, in Coldfusion 2023, the "cfclasses" directory no longer seems to be use.  Any assistance would be greatly appreciated! Thank you very much!

    This topic has been closed for replies.

    1 reply

    BKBK
    Community Expert
    Community Expert
    June 26, 2024

    Try the following steps.

    1.  Uncheck the following checkboxes on the Caching page in the ColdFusion Administrator:

        - Trusted cache
        - Cache template in request
        - Component cache
        - Save class files
        - Cache web server paths

    2.  Press the button to "Submit Changes;"

    3.  Press the button to "Clear Template Cache Now" .