"Content cache" cache creating lag

Hi everyone !

I’m experiencing some trouble using content cache component.

The “Content Cache” component consumes resources even if the “Content” input is empty.

Video example: I use a slider that I connect to a “Stream Gate” component. I connect output 1 (empty) to the “Content Cache” component.

When the slider is moved, an empty element is sent to the “Content Cache” component at each position. This creates lag, enough to impact the smoothness of the definition.

The lag is more or less pronounced depending on the time spent on Rhino/grasshopper and can be really disturbing (as you can see in the video).

Does anybody have the same issue ?

Have a great day.

content cache.gh (6.2 KB)

This is a weird example file. You cannot cache a number and using a button on a stream gate also isn’t a typical application. Why don’t you upload a more realistic definition?

PS: I downloaded your file but I don’t experience the lag you mentioned.

System Info

Rhino 9 SR0 2026-2-3 (Rhino WIP, 9.0.26034.12305, Git hash:master @ f10eb7a75f4fc041d932b4ee5c7a6367183ae4eb)
License type: Commercial, build 2026-02-03
License details: Cloud Zoo
Expires on: 2026-03-20

Windows 11 (10.0.26200 SR0.0) or greater (Physical RAM: 128GB)
.NET 9.0.12

Computer platform: DESKTOP

Standard graphics configuration using DirectX
Primary display: NVIDIA RTX A5000 (NVidia) Memory: 24GB, Driver date: 12-19-2025 (M-D-Y). DirectX(11)
> Accelerated graphics device with 4 adapter port(s)
- Windows Main Display attached to adapter port #0
- Secondary monitor attached to adapter port #1

Secondary graphics devices.
NVIDIA Quadro K2200 (NVidia) Memory: 4GB, Driver date: 12-19-2025 (M-D-Y).
> Accelerated graphics device with 4 adapter port(s)
- There are no monitors attached to this device!

DirectX Settings
Safe mode: Off

OpenBLAS: OpenBLAS 0.3.30 DYNAMIC_ARCH NO_AFFINITY Zen MAX_THREADS=64.

Rhino plugins that do not ship with Rhino

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 9 WIP\Plug-ins\Commands.rhp “Commands” 9.0.26034.12305
C:\Program Files\Rhino 9 WIP\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 9 WIP\Plug-ins\UpdatesAndStatistics\UpdatesAndStatistics.rhp “UpdatesAndStatistics” 9.0.26034.12305
C:\Program Files\Rhino 9 WIP\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 9.0.26034.12305
C:\Program Files\Rhino 9 WIP\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 9.0.26034.12305
C:\Program Files\Rhino 9 WIP\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 9 WIP\Plug-ins\MeshCommands.rhp “MeshCommands” 9.0.26034.12305
C:\Program Files\Rhino 9 WIP\Plug-ins\IronPython\RhinoDLR_Python.rhp “IronPython” 9.0.26034.12305
C:\Program Files\Rhino 9 WIP\Plug-ins\RhinoCycles.rhp “RhinoCycles” 9.0.26034.12305
C:\Program Files\Rhino 9 WIP\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Program Files\Rhino 9 WIP\Plug-ins\Displacement.rhp “Displacement”
C:\Program Files\Rhino 9 WIP\Plug-ins\SectionTools.rhp “SectionTools”

@PERE_Rémy

This is what I get on my computer.
It uses just 1ms.

Please enable the profiler on your computer to know if is the component or an other thing that causes the lag.

Hola @kike !

I have 39ms here, (with only this definition open on a small Rhino file). And 12ms on an empty file.

Hello, the point wasn’t sending a number, it was showing that when a “cache content” component is recieving an empty data it takes ressources.

I have bigger definitions, with sliders to design a building and i use “cache content” only once to bake the final state. While I don’t send data to it, mooving the sliders send many “empty” to the “content cache” and it shouldn’t make the definition slower. This exemple just illustrate the issue.

I expect it is the result output. If result is visible it must pull from the document. Remove the result from the cache and see how it goes.

Hi Scott,

Infortunately it doesn’t change a lot.

Here is my system info if you need it :

Rhino 8 SR27 2026-1-19 (Rhino 8, 8.27.26019.16021, Git hash:master @ a7029e543145704b986eede4bc40b6bd8a0645d0)
License type: Educational, build 2026-01-19
License details: Cloud Zoo

Windows 11 (10.0.26100 SR0.0) or greater (Physical RAM: 32GB)
.NET 8.0.14

Computer platform: LAPTOP - Plugged in [28% battery remaining]

Hybrid graphics configuration.
Primary display: Intel(R) Iris(R) Xe Graphics (Intel) Memory: 2GB, Driver date: 9-16-2025 (M-D-Y).

Integrated graphics device with 4 adapter port(s)

  • Windows Main Display is laptop’s integrated screen or built-in port
    Primary OpenGL: NVIDIA GeForce RTX 3060 Laptop GPU (NVidia) Memory: 6GB, Driver date: 8-21-2025 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 573.71

Integrated accelerated graphics device with 4 adapter port(s)

  • Video pass-through to primary display device

OpenGL Settings
Safe mode: Off
Use accelerated hardware modes: On
GPU Tessellation is: On
Redraw scene when viewports are exposed: On
Graphics level being used: OpenGL 4.6 (primary GPU’s maximum)

Anti-alias mode: 4x
Mip Map Filtering: Linear
Anisotropic Filtering Mode: High

Vendor Name: NVIDIA Corporation
Render version: 4.6
Shading Language: 4.60 NVIDIA
Driver Date: 8-21-2025
Driver Version: 32.0.15.7371
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 6 GB

Rhino plugins that do not ship with Rhino
C:\Users\rpere\AppData\Roaming\McNeel\Rhinoceros\packages\8.0\Karamba3D\3.1.51222\net8.0-windows\Karamba3D_LicensePlugin_Rhino8.rhp “Karamba3DLicense”

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 8\Plug-ins\Commands.rhp “Commands” 8.27.26019.16021
C:\Program Files\Rhino 8\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 8\Plug-ins\RhinoBonusTools.rhp “Rhino Bonus Tools”
C:\Program Files\Rhino 8\Plug-ins\AnimationTools.rhp “AnimationTools”
C:\Program Files\Rhino 8\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 8.27.26019.16021
C:\Program Files\Rhino 8\Plug-ins\RhinoRender.rhp “Legacy Rhino Render”
C:\Program Files\Rhino 8\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 8.27.26019.16021
C:\Program Files\Rhino 8\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 8\Plug-ins\MeshCommands.rhp “MeshCommands” 8.27.26019.16021
C:\Program Files\Rhino 8\Plug-ins\IronPython\RhinoDLR_Python.rhp “IronPython” 8.27.26019.16021
C:\Program Files\Rhino 8\Plug-ins\RhinoCycles.rhp “RhinoCycles” 8.27.26019.16021
C:\Program Files\Rhino 8\Plug-ins\Grasshopper\GrasshopperPlugin.rhp “Grasshopper” 8.27.26019.16021
C:\Program Files\Rhino 8\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 8.27.26019.16021
C:\Program Files\Rhino 8\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Program Files\Rhino 8\Plug-ins\Displacement.rhp “Displacement”
C:\Program Files\Rhino 8\Plug-ins\SectionTools.rhp “SectionTools”

Here another example showing that the actual operating time seems significantly longer than the time displayed by the profiler.

Each time I modificate an input that have an effect on a “Content Cash” component, the velocity is impacted.

Hi @PERE_Rémy,

There are some improvements in this area on v8.31.
May I ask how “big” is this model?
How many objects does Rhino report if you do _SelectAll and how many layers do you have at the time the video was recorded?

The changes done in 8.31 should reduce these 15ms to 1-2ms but I’m really curious about this extra delay not reported by the profiler.