Back to mods
PearlCache project artwork

CurseForge · Minecraft mod

PearlCache

Skip shader recompiles and GPU buffer resizes on every Vulkan launch.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which PearlCache release should I use?

Updated today
Latest stable file PearlCache 2026.12.06.0 (Fabric 26.4)
Game version 26.4-snapshot
Loader Fabric

PearlCache 2026.12.06.0 (Fabric 26.4) targets 26.4-snapshot with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is PearlCache required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does PearlCache 2026.12.06.0 (Fabric 26.4) need?

PearlCache 2026.12.06.0 (Fabric 26.4). Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add PearlCache without breaking your instance.

Built for PearlCache 2026.12.06.0 (Fabric 26.4). Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use PearlCache 2026.12.06.0 (Fabric 26.4). It targets 26.4-snapshot with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside PearlCache 2026.12.06.0 (Fabric 26.4). It opens that exact file at the source.

About this project

What does PearlCache add?

ShaderC SPIR-V & DynamicGpuData Buffer Resizes (n=5 Vulkan + 150-Mod)

PearlCache persists compiled ShaderC SPIR-V and the Vulkan VkPipelineCache to disk, and pre-sizes RenderPearl's dynamic GPU buffers so they never grow at runtime. It is a client-side Fabric mod for Minecraft's Vulkan renderer.

PearlCache is an independent project and is not affiliated with RenderPearl.

Why PearlCache?

  • Shader compile time cut by 82.4%: 2,270 ± 394 ms → 399 ± 68 ms on warm launches (n=5 vs n=5, p_holm = 0.002, 402/402 cache hits).
  • Zero runtime buffer resizes: 18.6 ± 0.9 → 0 per run, including the very first cold boot.
  • No steady-state FPS cost: 168.5 ± 20.3 vs 177.9 ± 15.3 FPS, a difference within noise (p = 0.43).

Quick Start

  1. Install Fabric Loader 0.20.0 or newer.
  2. Download PearlCache from Modrinth.
  3. Drop the JAR into your mods folder and launch with Java 25 or newer.

PearlCache has no keybinds or commands. It works automatically; the first launch fills the cache and later launches reuse it. Fabric API is not declared as a dependency.

Features

Feature What it does
ShaderC SPIR-V disk cache SHA-256 key over format version, shader name, stage, backend flags, #defines, source and all transitive #include contents (depth up to 16).
Persistent VkPipelineCache Replaces VK_NULL_HANDLE in VulkanRenderPipeline.compile with a driver-backed cache keyed by vendor + GPU + driver.
Buffer pre-sizing Raises initial capacity of Chunk Sections Command Buffer (4096), Chunk Sections (2048), Dynamic Transforms (64) and Terrain UBO (8) buffers.

Cache safety

Safeguard Behavior
Atomic writes Unique per-process temp file, then ATOMIC_MOVE; safe with several game instances.
Corruption check SPIR-V magic 0x07230203, length of at least 20 bytes and 4-byte alignment are validated. Bad files are deleted and recompiled.
Driver rejection A VkPipelineCache the driver rejects resets to an empty cache.
Size limits .spv capped at 256 MiB (LRU eviction to 80% on startup); .vkcache files over 128 MiB are not used. Stale .tmp files older than 5 minutes are removed.

Performance

Single machine: Ryzen 5 4500, RTX 3050 6 GB (driver 621.47), Windows 11, Minecraft 26.3. Not yet tested on AMD or Intel GPUs, or on Linux.

Metric (n=5 alternating) Without With PearlCache
ShaderC compile/read 2,270 ± 394 ms 399 ± 68 ms
Buffer resizes 18.6 ± 0.9 0
Average FPS 168.5 ± 20.3 177.9 ± 15.3 (n.s.)
1% low FPS 52.4 ± 6.1 52.2 ± 5.8 (n.s.)

In a heavy 150-mod stack (n=5, warm) there were 0 SPIR-V misses and 0 buffer resizes, with no detectable FPS change (48.2 ± 5.7 vs 48.5 ± 2.6). PearlCache does not raise FPS once shaders and buffers are already warm.

Configuration

There is no config file. Caches live in <game dir>/pearlcache/spv and <game dir>/pearlcache/vk; delete them to reset. To disable the mod, add the JVM argument -Dpearlcache.disabled=true.

Showcase

Steady-State FPS & Frame Pacing Check (n=5 vs n=5 Solo)

Steady-State FPS & Frame Pacing Check (n=5 vs n=5 Solo)

No detectable steady-state FPS cost in standalone Vulkan or 150-mod stack (all p>=0.38 ns); real benefit is ~1.9 s warm startup savings and 0 GPU buffer resizes.

Compatibility

Minecraft Loader Java Side
26.3 Fabric (Loader ≥ 0.20.0) 25+ Client only
26.4 (snapshots, pre-releases, rc and release) Fabric (Loader ≥ 0.20.0) 25+ Client only

Forge and NeoForge are not supported. It targets the Vulkan renderer with RenderPearl's dynamic buffers.

Building from Source

Requires JDK 25.

./gradlew build --no-daemon

License

Released under the MIT License.

Project description from CurseForge.

Pick your setup

PearlCache by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

2 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

PearlCache versions and loaders

4 of 4 releases match

Looking for an older file? The official CurseForge project page is in Resources.