Clear Cookbook Cache

Hi, I noticed when uploading my cookbooks that it says it caches on upload. I find that If I upload the version with minor changes, my chef code doesn't pull down the new code. I know it's best to increment the version number, but is there a way to clear the cookbook cache on the chef server?


Hi @01KTM -this caching occurs only on the client side. You can clear the client cache by emptying /var/chef/cache.

If you have enabled cbv_caching on the server, it's a very specific subset of information that's cached (expanded recipe file list with download urls for a given runlist and environment), and only for a fairly short window of time - 30 seconds by default. It does not sound like this is what you're running into, and it is disabled by default.