What NVIDIA Shader Cache Size Should You Use?

For most PCs, leave the NVIDIA shader cache size at the driver default (reported as 16GB on current drivers). Pick 100GB only if you keep a large game library and have plenty of free disk space. Choose Unlimited only if you plan to watch the folder. The setting caps how much disk space the driver may fill with compiled shaders, so games skip that work on later launches. It targets stutter, not low average FPS.

What does shader cache size do?

The shader cache size sets a ceiling on the disk space the driver may use to keep compiled shaders. With those files in place, a game does not have to compile the same shaders again the next time it runs. Control Panel, the NVIDIA App and Profile Inspector, the free driver profile editor all set this same cap.

NVIDIA's Control Panel help calls shader compiles "a common cause of game-play stuttering" and dates the size option to Release 495. Some stutter survives even a perfect cap, because a new game still builds its shaders from scratch on its first run. Input lag is a separate problem, handled by low latency and pre-rendered frame settings.

Best NVIDIA shader cache size for your PC

The best NVIDIA shader cache size holds every game you play often and still leaves free disk space. NVIDIA's help asks for a cache "large enough to cover the set of games you normally use", and it names no number of gigabytes.

Shader cache size by situation: the driver default, reported as 16GB, for most PCs; 5GB or 10GB for a few games on a small or nearly full SSD; 100GB for many large games with plenty of free space; Unlimited only if you will check the folder; a fixed 16GB that stays put when a new driver changes the default; and never Off for normal play, since games then compile shaders on every run.
Most PCs should keep the driver default, reported as 16GB, and only a big library with free space needs 100GB.

The help page explains why the size matters at all. Games vary widely, and higher-end titles can need several hundred megabytes each. When the cache nears its cap, the driver deletes older shaders to make room. A cap that is too small therefore throws out shaders you still use and the stutter comes back.

Pick the row that matches your drive and library; values are the tool's Shader Cache - Cache Size labels.

Your situationValueWhy
Most PCsThe driver default (restore the row)The driver picks the cap
A few games, a small or nearly full SSD5GB or 10GBA firm cap below the reported 16GB default protects free space while still covering the games you normally use
Many large games, plenty of free space100GBRoom for a big library before the driver removes older shaders
You want no cap and will check the folder now and thenUnlimitedNo limit, so the folder keeps growing
You want a fixed cap equal to the reported default16GBSame size as the reported driver default, but it stays fixed when a new driver changes the default
Never for normal playOffGames compile their shaders again on every run

Going from the driver default or 16GB up to 100GB is a disk space choice, not a speed upgrade. A bigger cap only changes anything once the cache has grown large enough to hit the smaller one.

What is the shader cache driver default?

Profile Inspector hands the size back to the driver, and the figure reported for current drivers is 16GB. NVIDIA publishes no number of its own, so treat 16GB as a reported figure that a later driver could change.

The number traces to pull request #374, in which a tool contributor added 16GB to the value list in January 2026 and called it the new default. NVIDIA's Control Panel help list has no 16GB step at all.

10GB or 100GB shader cache?

Pick a 100GB shader cache over 10GB if the drive has room, because 10GB now sits under the reported 16GB default. If you are not choosing between them, the driver default already beats 10GB. On current drivers, choosing 10GB (0x00002800) shrinks the cap rather than raising it.

At "several hundred megabytes" per large game, 10GB holds very roughly 20 to 50 such games before the driver starts deleting older shaders. PC Gamer reported fixing Borderlands 4 stutter by raising its cap to 100GB, which is one named case, not a rule.

NVIDIA Profile Inspector shader cache size values

Twelve values, from Off to Unlimited, sit on the Shader Cache - Cache Size row, ID 0x00AC8497, in group 07 - System, Memory and Compute.

The twelve Shader Cache - Cache Size values with hex and size in MB: Off 0x00000000, 128MB 0x00000080, 256MB 0x00000100, 512MB 0x00000200, 1GB 0x00000400 or 1,024 MB, 4GB 0x00001000, 5GB 0x00001400, 8GB 0x00002000, 10GB 0x00002800 or 10,240 MB, 16GB 0x00004000 or 16,384 MB, 100GB 0x00019000 or 102,400 MB, and Unlimited 0xFFFFFFFF. 4GB, 8GB and 16GB are not in NVIDIA's Control Panel help list.
Each sized hex value is the cap in megabytes, so 0x00002800 is 10,240 MB, or 10GB.

The row belongs to a profile like any other, either one game's or _GLOBAL_DRIVER_PROFILE (Base Profile). Type "shader cache" into the search field to find it; older guides use its old name, Shadercache - Cachesize. The Resizable BAR rows share the same group.

ValueHexSize in MBIn NVIDIA's Control Panel help list
Off0x00000000cache offYes, as Disabled
128MB0x00000080128Yes
256MB0x00000100256Yes
512MB0x00000200512Yes
1GB0x000004001,024Yes
4GB0x000010004,096No
5GB0x000014005,120Yes
8GB0x000020008,192No
10GB0x0000280010,240Yes
16GB0x0000400016,384No
100GB0x00019000102,400Yes
Unlimited0xFFFFFFFFno limitYes

Read each sized hex value as the cap in megabytes. A profile that shows 0x00002800 holds 10,240 MB, which is 10GB.

NVIDIA shader cache settings in Profile Inspector

Only Shader Cache - Cache Size is worth changing for most players. Around it sit three more rows from the tool's main list and three flag rows named only in Reference.xml.

Row as shownIDValuesWhat to do
Shader Cache - Cache Size0x00AC849712 values, Off to UnlimitedChange it to fit your drive
Shader Cache - Enabled0x00198FFFOff 0x00000000, On 0x00000001 (default On, driver 337.50 or newer)Leave at On
Shader Cache - Enabled (OpenGL)0x208F3F2EDisabled 0x00000000, Enabled 0x00000001Leave at the driver's value; set Enabled if an OpenGL game shows Disabled
Shader Cache - Pre-compile Shader Options0x00EAD189Disabled to HighOptional; see the settings guide
Shader Cache Control Flags 0X1d744c0x001D744C0, 1, 2Leave at 0x00000000
Shader Cache Control Flags 0Xf4889b0x00F4889BBit flags such as DISABLE_DRIVER_VERSIONING 0x8 and DISABLE_GARBAGE_COLLECTION 0x40Leave at 0x00000000
Shader Cache Control Flags For Automated Testing0x00F4889CHidden rowLeave at 0x00000000

A big cap does nothing while Shader Cache - Enabled is Off, because that switch turns off the Direct3D cache altogether, and with it off every launch compiles again. OpenGL games have a switch of their own, which the XML gives no default. The three flag rows come from Reference.xml, outside the main list, and only the automated testing row is marked hidden. The pre-compile row builds DirectX 12 shaders ahead of time; read about Pre-compile Shader Options and the rest of group 07 before you switch it on.

Advanced Shader Delivery in driver 621.01

With Advanced Shader Delivery, some games now arrive with their shaders already built. NVIDIA's 621.01 Game Ready driver article (October 20, 2026) adds support for Microsoft's Advanced Shader Delivery, starting with Call of Duty: Modern Warfare 4 and Gears of War: E-Day.

The precompiled shader database for your PC comes bundled with the game download through the Xbox PC app, and NVIDIA names Microsoft Store purchases as the smooth path. In those games NVIDIA claims a near-100% cache hit rate, which removes mid-game compiling. Everything else still compiles shaders locally for your GPU and driver, so the size setting still matters.

Shader cache size in NVIDIA Control Panel and App

In NVIDIA Control Panel, Shader Cache Size sits under Manage 3D Settings with nine choices, from Disabled to Unlimited. That matches the list on NVIDIA's help page. The NVIDIA App puts the same option under Graphics, then Global Settings.

What Profile Inspector adds is the 4GB, 8GB and 16GB steps, plus the hex for every value. All three programs store one driver value, so read which program wins when the App also sets the cache before you use two. The tool only edits NVIDIA driver profiles, so owners of other cards should read about Profile Inspector on AMD and Intel cards.

Where is NVIDIA shader cache stored?

On current drivers, look in %LOCALAPPDATA%\NVIDIA: DirectX games fill DXCache and OpenGL games fill GLCache. NVIDIA's help pages do not print these paths, so each one is a reported path. The two current folders come from a September 2026 XDA Developers report.

Where NVIDIA shader cache is stored: %LOCALAPPDATA%\NVIDIA\DXCache for DirectX and %LOCALAPPDATA%\NVIDIA\GLCache for OpenGL on current drivers, PerDriverVersion\DXCache under AppData\LocalLow on older drivers from the 545 era, and NV_Cache under %PROGRAMDATA% for the legacy cache. Folder Properties shows the size; XDA found 40GB across 946 files on one PC.
On current drivers, DirectX games fill DXCache and OpenGL games fill GLCache, both under %LOCALAPPDATA%\NVIDIA.
FolderUsed for
%LOCALAPPDATA%\NVIDIA\DXCacheDirectX shaders on current drivers; a Microsoft Flight Simulator forum post ties the move here to driver 571.86
%LOCALAPPDATA%\NVIDIA\GLCacheOpenGL shaders on current drivers
%USERPROFILE%\AppData\LocalLow\NVIDIA\PerDriverVersion\DXCacheDirectX shaders on older drivers, from user reports in the 545 driver era
%PROGRAMDATA%\NVIDIA Corporation\NV_CacheLegacy cache named in older third-party guides

Paste the path into the File Explorer address bar to jump there, then right-click the folder and choose Properties to see how big it has grown. Neither Profile Inspector nor Control Panel shows a size readout. XDA's report found 40GB across 946 files on one PC.

How to clear NVIDIA shader cache

Turn the cache off, restart, empty the folders, then set the size back. That order follows NVIDIA's support steps as XDA retells them, and it stops the driver from holding files open while you delete them.

Clearing NVIDIA shader cache in four steps: export a .nip backup and set Shader Cache - Cache Size to Off, 0x00000000; restart Windows; delete the files inside DXCache and GLCache but keep the folders; then set the size back to the driver default or your earlier value.
Turn the cache off and restart before emptying DXCache and GLCache, then set the size back and expect first-run stutter.
  1. Export a .nip backup of the global profile first. Then set Shader Cache - Cache Size to Off (0x00000000) on that profile, or pick Disabled in Control Panel, and save.
  2. Restart Windows.
  3. Delete the files inside DXCache and GLCache, but keep the folders.
  4. Set the size back to the driver default or the value you chose earlier.

War Thunder's publisher, Gaijin, reportedly gives the same order in its support article. Expect stutter on the first run of each game while the driver fills the cache again.

Cannot find the cache size row?

An old driver explains a missing option, while returning stutter usually means the cache was emptied or switched off.

  • No Shader Cache Size option in Control Panel. NVIDIA's help dates the option to Release 495, so install a current Game Ready driver.
  • Stutter returns after a driver update. NVIDIA's help says a new driver deletes the cache. Play on while it refills.
  • Stutter every time a game starts. The cache is off, either at size Off or with Shader Cache - Enabled at Off. Set a size and turn Enabled back to On.
  • The C: drive keeps filling up. An Unlimited cap lets the folder grow without end. Set 5GB or 10GB, then clear the folder.
  • Hitches that continue after the first few launches. A game's first run fills the cache, so lasting hitches point away from the cap. Uneven frame pacing is the next suspect: cap the frame rate in the driver a little under your average FPS and replay the same scene.
  • A new value will not stick. That is a Profile Inspector save problem, not a cache problem; fix Profile Inspector changes that will not save.

How to undo shader cache changes

Restoring the row puts the NVIDIA shader cache size back to the driver's value. Restoring works for Shader Cache - Cache Size and for Shader Cache - Enabled (OpenGL), which has no default in the XML. If you set Shader Cache - Enabled to Off, set it back to On (0x00000001).

Restoring beats typing 16GB by hand, because a restored row follows whatever default the next driver brings while a typed value stays fixed. When several rows changed at once, a profile reset clears them in one go instead.

FAQ

Does shader cache size affect FPS?

Not much. NVIDIA presents the cache as a cure for stutter, the short freezes you feel when a shader compiles during play. MakeUseOf found that the cache "doesn't impact average FPS as much as other stats do".

Is shader cache size Unlimited safe?

Unlimited is a disk space risk, not a hardware risk. With no cap, the driver never reaches the limit that makes it throw out older shaders, so the folder keeps growing. The tool itself, which edits only driver profiles, is covered under whether Profile Inspector itself is safe.

Can I change the NVIDIA shader cache location?

Not with a setting. Neither CustomSettingNames.xml nor Reference.xml has a row for the cache folder, and NVIDIA documents no option to move it. Some guides suggest folder links that point it at another drive.

Does Disk Cleanup clear the NVIDIA shader cache?

No. XDA reports that the DirectX Shader Cache box in Windows Disk Cleanup empties only Windows' own D3DSCache folder. NVIDIA's files sit in DXCache and GLCache and stay put. The driver rebuilds whatever you delete, with some stutter on each game's first run.

Does a driver update clear the shader cache?

NVIDIA's Control Panel help says installing a new driver deletes the cache. XDA reports that its old cache files stayed in place after it changed drivers. Either way, plan for some stutter on the first launch of each game after an update, until the cache fills again.

Does shader cache size matter in DX12 games?

Yes. NVIDIA's 621.01 article says games without Advanced Shader Delivery compile shaders locally for your GPU and driver. Microsoft notes a DX12 game can also store its own compiled pipelines on disk, so part of that game's cache may sit outside NVIDIA's folder.

Conclusion

Leave the NVIDIA shader cache size at the driver default, reported as 16GB, unless your drive or library pushes you off it. A small, nearly full SSD suits 5GB or 10GB, a big library on a roomy drive suits 100GB, and Unlimited fits only if you will watch the folder.

Keep Shader Cache - Enabled at On, and restore the size row to get the driver's value back, or reset the profile when several rows changed. Expect some stutter on each game's first run after you clear the folders or update the driver, until the cache refills.