Know which cache you are clearing
The driver keeps a large per-version cache for compiled shaders, Windows keeps a small DirectX cache per user. Clear both after a driver update, not weekly - a warm cache is faster.
Stutter that starts right after a driver update is usually an empty or stale shader cache. Raise the size, clear the old entries and let the games rebuild once.
Set **Shader Cache Size** to **10 GB** in the NVIDIA driver, clear the stale **DirectX shader cache** in Windows, then play one session so the cache rebuilds. The first minutes after a driver update always stutter.
The driver keeps a large per-version cache for compiled shaders, Windows keeps a small DirectX cache per user. Clear both after a driver update, not weekly - a warm cache is faster.
In the NVIDIA Control Panel open **Manage 3D Settings**, set **Shader Cache Size** to **10 GB** and apply. On AMD the cache is managed automatically and only needs a reset.
Manage 3D Settings > Shader Cache Size > 10 GB
Close all games, then delete the two cache folders in your local app data. The driver recreates them on the next launch.
del /q "%LOCALAPPDATA%\VIDIA\XCache\"
del /q "%LOCALAPPDATA%\VIDIA\LCache\"
Open **Settings > System > Storage > Temporary files**, tick **DirectX Shader Cache** and press **Remove files**. Leave the download and update entries alone.
Launch the game, load the heaviest areas once and do not judge performance in the first five minutes. Then measure in a repeatable spot, the same save or benchmark.
The cache is versioned per driver. After the next GPU driver update the same short stutter returns - repeat steps 3 and 4 once, then leave it alone.
Expected. The old cache is invalid and the new one starts empty. Repeat the cleanup instead of lowering settings.
Cache size is set to Unlimited. Set 10 GB and move game libraries to another drive.
Older Windows builds do not list it. Use the driver reset in step 3 and let Windows rebuild its cache on demand.
For the first minutes, yes - shaders compile again. After that it is identical or better, because stale entries no longer get loaded.
Up to a point. 10 GB covers a large library; beyond that you only fill the system drive.
Set **Shader Cache Size** back to Driver Default and stop clearing it. Windows rebuilds the DirectX cache automatically, nothing else changes.
Free · no account needed · tracks your progress