Apps

Discord PTB

Discord PTB stores several Electron runtime caches on disk, including Chromium HTTP disk cache entries in Cache_Data, V8 compiled JavaScript bytecode in Code Cache, and GPU resource and shader data in GPUCache to speed up loading the test client. These files are regenerated automatically, but after PTB updates, renderer changes, or graphics driver changes they can become stale and cause broken media previews, sluggish startup, or rendering glitches. Kudu removes only those disposable cache folders and leaves your account, servers, messages, downloads, and settings untouched.

Why clean Discord PTB?

  • Invalidated V8 bytecode after a Discord PTB update can make the app hang on a gray or blank window during launch until the Code Cache is rebuilt
  • Corrupted Chromium disk cache entries in Cache_Data can cause avatars, custom emoji, embeds, and image previews to fail to load or appear only after a hard refresh
  • Stale cached API and asset responses can leave PTB showing an outdated interface, missing experiment assets, or channels that do not fully render after Discord rolls out changes
  • GPUCache data tied to an older graphics driver can become invalid after a driver update, leading to flickering panels, black rectangles, or stutter when switching servers and channels
  • An oversized cache directory can waste several hundred megabytes and make Discord PTB slower to start because Chromium has to scan and evict old entries before loading fresh ones
  • Broken cached media responses can make GIFs, stickers, and inline videos spin indefinitely or show a failed preview even though the same content loads correctly in a browser
What gets cleaned

Cache paths Kudu targets

Windows

%AppData%/discordptb/Cache/Cache_Data
%AppData%/discordptb/Code Cache
%AppData%/discordptb/GPUCache

macOS

~/Library/Application Support/discordptb/Cache/Cache_Data
~/Library/Application Support/discordptb/Code Cache
~/Library/Application Support/discordptb/GPUCache

Linux

~/.config/discordptb/Cache/Cache_Data
~/.config/discordptb/Code Cache
~/.config/discordptb/GPUCache
Frequently asked

Common questions about Discord PTB

Free & open source

Download Kudu and reclaim your disk space.

Available on Windows, macOS, and Linux. No account required, no feature gates, no telemetry without consent. All cleaning targets are open source and community-auditable.