Hidden Railo gem for your dev environment
posted by Chris
on Apr 20, 2012 at 16:21
I found this blog post from way back by Gert talking about configuration options in your railo-web.xml.cfm file and hidden in there is this little gem
under point 1.b it says
RAM this sets the location to your server's ram (the generated files remain persistent until the server is restarted)
<file-system deploy-directory="ram:///cfclasses/" fld-directory="{railo-web}/library/fld/" temp-directory="ram:///temp/" tld-directory="{railo-web}/library/tld/"> </file-system>
No more worrying about cached compiled classes, just restart your container (tomcat, jetty etc) and know that any templates or cfc's that railo had compiled will be blown away when you restart.
Categories:
Comments