Use /var/cache and ~/.cache on Linux