Skip to content

refactor: Try inlining header icon spritesheet#1346

Closed
rschristian wants to merge 1 commit intomasterfrom
refactor/inline-common-icon-spritesheet
Closed

refactor: Try inlining header icon spritesheet#1346
rschristian wants to merge 1 commit intomasterfrom
refactor/inline-common-icon-spritesheet

Conversation

@rschristian
Copy link
Member

Just testing it out, but the gains from losing a network req & having these available at page load (they're in the header, so if not cached, will pop in, and restoring spritesheets from cache seems mighty slow across all browsers) might outweigh the cachability loss.

@github-actions
Copy link

github-actions bot commented Oct 6, 2025

Size Change: +4 B (0%)

Total Size: 449 kB

ℹ️ View Unchanged
Filename Size Change
build/assets/blog-page-********.js 257 B +3 B (+1.18%)
build/assets/docsearch-********.js 28.9 kB 0 B
build/assets/errors-********.js 342 B 0 B
build/assets/index-********.js 33.2 kB -1 B (0%)
build/assets/index-********.css 9.85 kB 0 B
build/assets/repl-********.css 1.51 kB 0 B
build/assets/repl-********.js 148 kB +1 B (0%)
build/assets/repl-page-********.js 7.65 kB 0 B
build/assets/repl.worker-********.js 213 kB 0 B
build/assets/style-********.css 3.07 kB 0 B
build/assets/style.module-********.js 159 B 0 B
build/assets/tutorial-page-********.js 1.99 kB +1 B (+0.05%)
build/assets/tutorial-page-********.css 1.76 kB 0 B

compressed-size-action

@rschristian rschristian closed this Oct 7, 2025
@rschristian rschristian deleted the refactor/inline-common-icon-spritesheet branch October 7, 2025 23:01
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