I am not sure if its wrong to “hijack” this thread but I was about to ask a similar question. Is it possible flush the cache (the cache folder inside “site”) on deployment for example? Any scripts or command line tools?
@texnixe Thanks for quick reply. I get your point about the gitignore however my concern is that if I change something in the template locally and push to git and then deploy to server how would I go about making sure the cache is flushed/cleared?
I assume html markup is cached despite the cache is not creating a 100% static html file per page.