[Ide] Improved compilation caching.