I use a Chromebook, so Drive functionality is built in. It self-manages local cache, and I believe typically the only things it keeps locally are Google Doc/Sheet/Slides files, and whatever you mark to be available offline.
There's also a download folder where you can manually save items locally only (which it claims it will delete automatically for space, though I don't think I've ever seen it do that).