CacheWarmer is an attempt to pre-fetch desired files into the Windows File System Cache. It was largely developed with the assistance of Claude Code, and is a self-contained .NET 10 C# application (no need to install a separate runtime).
CacheWarmer.exe (path) (path2) ...
Configuration is achieved via the inclusion of an appsettings.json file in the same directory as the EXE. As long as that file is present, and populated, you can run the program as is, no arguments required. If the file is missing, the program should still run as long as paths are specified on the command line; keep in mind, there are pre-programmed defaults you won't be able to override without recompiling the program.
Admin rights are not required to run this program.
{
"CacheWarmer": {
"Paths": ["C:\\Projects"], <- array of directories you wish to scan; the double-slash is necessary.
"Extensions": [ ".cpp", ".h", ".c", ".cs" ], <- array of filetypes you wish to scan.
"MaxFileSizeBytes": 67108864, <- defaults to 2GB; adjust this number based on the type of files you expect to pre-cache.
"DelayBetweenPassesSeconds": 300, <- can be set to any numerical value, but recommended to be at least more than 30 seconds.
"MaxParallelism": 0 <- can be set to any value up to 640 (limit of Windows CPU cores as of 2026); '0' auto-selects half your core count.
}
}
- This program is a proof-of-concept. No guarantee is made of actual increased performance.
- Use RAMMap to identify cached files in memory.
- Install the .NET 10 SDK (via WinGet / VS 2026 / MS website).
- Run the following in a terminal window of your favorite editor (VS Code, Zed, etc)...
dotnet build -c Release
dotnet publish
- 2026.02.13.1 -> Initial Release