CacheUtils
by SMILEZYd
CacheUtils is a Fabric client-side tool for inspecting and clearing the texture cache, with chat and log output for debugging.
What it does
The mod adds commands that work on the client's texture cache. It is a debugging tool for players and for data pack and mod developers alike. Entries are matched by a target string, and every cache key that contains that substring can be removed, so the target should be chosen carefully.
Commands can show the full cached value for a target, inspect the raw stored data, count the entries held in the cache and list them in a chosen output mode. The list can be printed to the player's chat log, written to the server log, or filtered with an optional search term. When several entries match, an ordinal can pick one exact entry.
CacheUtils requires Fabric and runs on the client only, so servers do not need it. Files exist for 1.21.4, 1.21.5, 1.21.6, 1.21.7 and 1.21.8, and the latest Fabric build, 0.2.1+1.21.5-1.21.8, targets 1.21.8. The code is released under the MIT License and is open source.
Key features
Texture cache removal
Entries whose keys contain a specified target string are deleted from the texture cache.
Protected font entries
A protectUI option, true by default, keeps font-related entries from being deleted, since removing them can break visible UI elements until F3+T restores the fonts.
Full value display
A command shows the complete cached value for a given target, and an inspect mode returns the raw stored data for technical checks.
Entry counts and listings
The mod reports how many entries are stored in the cache and lists them in chat, the chat log or the server log, with an optional search term.
Ordinal selection
When several entries match a target, an ordinal picks one exact entry to view or inspect.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Who it’s for: Resource pack authors, data pack developers and mod developers who need to check or clear client-side texture cache entries.
How it compares
ContainerSearcher is a client-side Fabric mod for 1.19 – 1.21.11 under All rights reserved, so its code is not open source. Offline Player Cache is server-side only, open source under the MIT License and built for 1.18.2 – 1.19.2, so it serves a different purpose and runs on the other side.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| CacheUtils | Fabric | 1.21.4 – 1.21.8 | Client-side only | 2025-11-26 |
| ContainerSearcher | Fabric | 1.19 – 1.21.11 | Client-side only | 2026-02-15 |
| Offline Player Cache | Fabric | 1.18.2 – 1.19.2 | Server-side only | 2022-08-28 |
Questions
Does CacheUtils need to be installed on the server?
Which loader does CacheUtils use?
Why does the protectUI option matter?
In the catalog
CacheUtils is one of 4,058 Storage mods on ModsFinder, and one of 2,474 Storage mods for Fabric. 17,695 mods support Minecraft 1.21.8.
Similar mods
What the author says
What it does: Removes all cache entries whose keys contain the specified <target> string. Usage notes: <target> determines which entries get deleted — anything containing that substring will be deleted; use with caution. <protectUI> (default: true ) prevents deleting font-related cache entries. Disabling this may…
Official listing
- Modrinth page
- modrinth.com/mod/smilezyd-cacheutils
- Owner
- SMILEZYd
- Published
- 2025-11-25
- Updated on Modrinth
- 2025-11-26
- Facts verified
- 2026-10-15
