清除ColdFusion生产服务器中的缓存 [英] Clearing the Cache in Coldfusion Production server
问题描述
我使用CFMX,并且在制作中有一个问题(变量yy未定义在yyfiling中)。
但是它们似乎没有显示在服务器上。
我想要清除服务器缓存,以便我的提升代码可以生效。 / p>
CFAdmin生产模板已缓存(可信缓存已启用),因此需要将其关闭可信缓存并清除模板缓存。
应该这样做。
那么是不是会影响主网站?
任何预防措施
您可以以编程方式清除所有模板或特定模板的ColdFusion模板缓存。 Ray Camden已在此处记录:
使用AdminAPI从模板缓存清除单个文件
http://www.coldfusionjedi.com/index.cfm/2008/6/19/清除个人文件夹-FoldFusion-templates-cache
ColdFusion Admin API和模板缓存
http://www.coldfusionjedi.com/index。 cfm / 2007/6/7 / ColdFusion-8-Admin-API-and-Trusted-Cache
I am using CFMX and there is an issue (variable "yy" is undefined in "yyfiling")thats a show stopper , on the production.
I am promoting corrections to it but they do not seem to show up on the server.
I want to resort to clearing the Server cache so that my promoted code can take effect.
The CFAdmin production template was cached (Trusted Cache turned on), so wanna turn it off Trusted Cache and clear template cache. Should do that ASAP.
So was wondering it will effect the main site? ANY PRECAUTIONS?
You can programmatically clear the ColdFusion template cache of all templates or a specific template. Ray Camden has documented it here:
Clearing individual files from template cache with AdminAPI http://www.coldfusionjedi.com/index.cfm/2008/6/19/Clearing-individual-filesfolders-from-ColdFusion-templates-cache
ColdFusion Admin API and template cache http://www.coldfusionjedi.com/index.cfm/2007/6/7/ColdFusion-8-Admin-API-and-Trusted-Cache
这篇关于清除ColdFusion生产服务器中的缓存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!