You can clear the cache on your PS4 by unplugging the console after a full shutdown and waiting for 30 seconds.
You can upgrade eligible PS4 games to play on a PS5 in higher quality through the PlayStation Game Hub and PS Store.