Best way to clear cache of layouts

Hello, 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

Could someone propose other way to reset cache of layouts? Or better layout that exactly changed.

Thanks, Ildar