We're using Capistrano to deploy our sites. This means each time we deploy, a completely fresh version of the files is used. This has the nice side-effect of clearing any caching automatically, as anything not in Git is removed.
It looks like when minification is activated, the wp-content/cache folder and associated contents is created, however if this is subsequently removed, then it does not automatically get recreated. This breaks deployment.
I could add some of the files in wp-content/cache to Git, but this seems not ideal. Anything in the cache folder should not need to be persistent.
Any thoughts?