I had a shortcut in windows pointing to the cache C:\Users\bugge\AppData\Local\Temp\arduino
Since IDE 2.3.4, the location seems to have changed to C:\Users\bugge\AppData\Local\arduino
There have been cases where users do care. Like when wants to access the directory, like maybe look at map file, or when the cached data gets messed up, and instructions have been to go to that directory and erase it…
Also before the disk cleanup utilities would clean it up, which was a blessing and a curse. As sometimes it would do so while sketch still open.
This change should provide a significant performance improvement for Linux and macOS users. Those operating systems automatically clear the temporary folder, which would cause the loss of the cached compiled core, library, and sketch objects and thus a full recompile when the cache was stored there. By moving it to the cache folder, it allows Arduino CLI to exclusively manage its cache (it does have its own automatic clean up mechanism).