How to fix Path of Exile Shader Cache Lag Spikes / FPS Drops - Standalone Version
I'm playing the standalone version, and I improved my FPS by doing this, based on this forum thread:
"If the Shaders bar alerts you about shader loading/saving being critically slow, consider changing the drive that the shader cache is stored on to a faster one. In the [GENERAL] section of the settings file, you can set cache_directory=x:\path\to\preferred\location to a folder on a faster drive. Link: https://www.pathofexile.com/forum/view-thread/3144901/page/1 " Link to the video showing the step by step: https://www.youtube.com/watch?v=1V6VSKWqcgg&ab_channel=Bigode English: Open the following path in File Explorer to edit the game's configuration file: %USERPROFILE%\Documents\My Games\Path of Exile Look for the file named: production_Config.ini Open it with Notepad or any text editor. To set a custom cache folder, add the following line under the [GENERAL] section: cache_directory=X:\your\preferred\folder (cache_directory=P:\PoECache) SCRIPT.BAT ENGLISH: @echo off setlocal rem Automatically detects the user's Roaming folder path set "POE_ROAMING=%USERPROFILE%\AppData\Roaming\Path of Exile" echo ============================================= echo Path of Exile Shader Cache Symbolic Link Setup echo ============================================= echo. echo Please select the API you want to use: echo 1 - DirectX 11 echo 2 - DirectX 12 echo 3 - Vulkan echo. set /p choice="Enter your choice (1, 2 or 3): " echo. rem Remove old symbolic links and shader cache folders echo Removing old symbolic links and folders... rmdir /S /Q "%POE_ROAMING%\CachedHLSLShaders" rmdir /S /Q "%POE_ROAMING%\ShaderCacheD3D12" rmdir /S /Q "%POE_ROAMING%\ShaderCacheD3D11" rmdir /S /Q "%POE_ROAMING%\ShaderCacheD3D11_GI" rmdir /S /Q "%POE_ROAMING%\ShaderCacheD3D12_GI" rmdir /S /Q "%POE_ROAMING%\ShaderCacheVulkan" rmdir /S /Q "%POE_ROAMING%\Minimap" echo Creating folders in P:\PoECache... mkdir "P:\PoECache\CachedHLSLShaders" mkdir "P:\PoECache\Minimap" if "%choice%"=="1" ( mkdir "P:\PoECache\ShaderCacheD3D11" mkdir "P:\PoECache\ShaderCacheD3D11_GI" echo Creating symbolic links for DirectX 11... mklink /D "%POE_ROAMING%\CachedHLSLShaders" "P:\PoECache\CachedHLSLShaders" mklink /D "%POE_ROAMING%\ShaderCacheD3D11" "P:\PoECache\ShaderCacheD3D11" mklink /D "%POE_ROAMING%\ShaderCacheD3D11_GI" "P:\PoECache\ShaderCacheD3D11_GI" mklink /D "%POE_ROAMING%\Minimap" "P:\PoECache\Minimap" ) else if "%choice%"=="2" ( mkdir "P:\PoECache\ShaderCacheD3D12" mkdir "P:\PoECache\ShaderCacheD3D12_GI" echo Creating symbolic links for DirectX 12... mklink /D "%POE_ROAMING%\CachedHLSLShaders" "P:\PoECache\CachedHLSLShaders" mklink /D "%POE_ROAMING%\ShaderCacheD3D12" "P:\PoECache\ShaderCacheD3D12" mklink /D "%POE_ROAMING%\ShaderCacheD3D12_GI" "P:\PoECache\ShaderCacheD3D12_GI" mklink /D "%POE_ROAMING%\Minimap" "P:\PoECache\Minimap" ) else if "%choice%"=="3" ( mkdir "P:\PoECache\ShaderCacheVulkan" echo Creating symbolic links for Vulkan... mklink /D "%POE_ROAMING%\CachedHLSLShaders" "P:\PoECache\CachedHLSLShaders" mklink /D "%POE_ROAMING%\ShaderCacheVulkan" "P:\PoECache\ShaderCacheVulkan" mklink /D "%POE_ROAMING%\Minimap" "P:\PoECache\Minimap" ) else ( echo Invalid option selected. Please run the script again and choose 1, 2, or 3. pause exit /b ) echo. echo Setup complete! Please restart the game for changes to take effect. pause 🇺🇸 Step-by-Step in English 1. Open Notepad Create a new file and paste the full script. 2. Save as .bat file Save with the name: poe_cache_setup.bat Choose “All files” as the file type. 3. Run as Administrator Right-click the .bat file and choose “Run as administrator”. 4. Choose your Graphics API The script will ask which API you want: 1 → DirectX 11 2 → DirectX 12 3 → Vulkan 5. What the script does automatically: Deletes old shader cache folders and symbolic links Creates new folders in P:\PoECache Sets up symbolic links in the correct location Also links the Minimap folder TESTING: %APPDATA%\Path of Exile or C:\Users\<username>\AppData\Roaming\. Link to the video showing the step by step: https://www.youtube.com/watch?v=1V6VSKWqcgg&ab_channel=Bigode I'm new to the game, this is my second league, so if this is against the rules, I would like to be informed about it. I don't know much English, any spelling mistakes, disregard. Last edited by sonyquest#0099 on Jun 24, 2025, 8:30:16 PM Last bumped on Jun 24, 2025, 7:35:13 PM
|
![]() |