I'm currently developing some templates in Craft. My work flow is
> Make a change to the template file
> Save the file, which automatically loads to the server
> Reload a test page in a web browser
About half the time, and somewhat erratically the adjusted template does not load. Once it is not loading, no amount of browser reloading, clearing local caches etc will help. The only thing that I have been able to find that will consistently fix this is to go in CP Settings and clear the Compiled Template cache. Obviously this is a pain to do each time, and slows my development time considerably.
Initially I tried to set a Craft config of 'cache' => false
, because I read this advice somewhere, but I see it doesn't appear in the documentation, and it doesn't work. I've also tried 'cacheDuration' => 'PT1S'
to no avail.
The cacheMethod is set to Default. Craft version is current.