You can clear Steam cache through the "Downloads" menu. You should clear the cache occasionally to keep the app running smoothly.
Gearbox has explained that Borderlands 4's latest patch needs to go through shader compiling, leading to temporary stuttering in-game.