Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node: Add .customCacheKey() #30062

Merged
merged 3 commits into from
Dec 8, 2024
Merged

Node: Add .customCacheKey() #30062

merged 3 commits into from
Dec 8, 2024

Conversation

sunag
Copy link
Collaborator

@sunag sunag commented Dec 8, 2024

Related issue: #30045

Description

Introduces an interface for custom cache key generation.

@sunag sunag added this to the r172 milestone Dec 8, 2024
Copy link

github-actions bot commented Dec 8, 2024

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 339.11
78.98
339.11
78.98
+0 B
+0 B
WebGPU 486.05
134.9
485.92
134.9
-129 B
+0 B
WebGPU Nodes 485.51
134.81
485.39
134.81
-129 B
-2 B

🌳 Bundle size after tree-shaking

Minimal build including a renderer, camera, empty scene, and dependencies.

Before After Diff
WebGL 465
112.04
465
112.04
+0 B
+0 B
WebGPU 555.42
150.37
555.32
150.38
-100 B
+10 B
WebGPU Nodes 511.27
140.08
511.17
140.08
-100 B
-1 B

@sunag sunag marked this pull request as ready for review December 8, 2024 03:45
@sunag sunag merged commit 0096caf into mrdoob:dev Dec 8, 2024
12 checks passed
@sunag sunag deleted the dev-custom-cachekey branch December 8, 2024 03:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant