Arduino IDE 2.x in a classroom setting: No compile cache for students

There are discussions about a portable version of the 2.x IDE

See Arduino IDE 2.0 Portable - #7 by ptillisch for example

And tracked here

I guess this is related. Have you tried with the latest IDE 1.x?