Caching/preserving Chocolatey dependencies across builds


The project I’m working on depends on Windows Driver Kit (WDK) and soon we will depend on the Windows SDK as well. Each of them takes at least 5 minutes to download and install, amounting to over 10 minutes, which is a huge share of the otherwise few seconds of build time that the project needs. See the build job:

Here’s the question: Is it possible to preserve those dependencies across builds? Could the cache features be used to improve the performance of our Travis script?

If no solution is available, have you considered pre-installing these dependencies in the Windows image (windowsdriverkit10 and windows-sdk-10.1)? While the WDK might be less used, the Windows SDK is an essential component for building many Windows applications.

Thank you for your time.