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

Vite warmup of files that take long to process. #3642

Merged
merged 1 commit into from
Mar 7, 2024
Merged

Vite warmup of files that take long to process. #3642

merged 1 commit into from
Mar 7, 2024

Conversation

rpiaggio
Copy link
Contributor

@rpiaggio rpiaggio commented Mar 7, 2024

Warms up files that take a long time for Vite to transform.

Performance improvement is minimal, but at least explore always seems to load correctly on the first try now.

Reference:
https://vitejs.dev/guide/performance#warm-up-frequently-used-files
https://vitejs.dev/config/server-options#server-warmup

Copy link

bundlemon bot commented Mar 7, 2024

BundleMon

Files updated (1)
Status Path Size Limits
index-(hash).js
1.76MB (+175B +0.01%) -
Unchanged files (5)
Status Path Size Limits
exploreworkers-(hash).js
736.19KB -
index-(hash).css
60.83KB -
agsworker-(hash).js
74B -
plotworker-(hash).js
74B -
itcworker-YPX3b-(hash).js
73B -

Total files change +175B +0.01%

Final result: ✅

View report in BundleMon website ➡️


Current branch size history | Target branch size history

Copy link
Contributor

@cquiroz cquiroz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, let's give it a try

@rpiaggio rpiaggio merged commit 584105c into master Mar 7, 2024
15 checks passed
@rpiaggio rpiaggio deleted the warm-up branch March 7, 2024 13:16
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.

2 participants