简体   繁体   English

清除布局缓存的最佳方法

[英]Best way to clear cache of layouts

I have editable layouts in my application. 我的应用程序中有可编辑的布局。 It is not a good way to reset application, after each change of layouts by touch tmp/restart.txt 在每次通过tmp / restart.txt更改布局后,这不是重置应用程序的好方法。

Could someone propose other way to reset cache of layouts? 有人可以提出其他方法来重置布局缓存吗? Or better to reset layout that exactly changed. 或者最好重置完全更改的布局。

Thanks, Ildar 谢谢,伊达尔

我想你正在寻找类似的东西

rake tmp:cache:clear

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM