[webpack.cache.PackFileCacheStrategy] Serializing big strings (110kiB) impacts deserialization performance
See original GitHub issueDescribe the bug
Strangely enough, adding more sprinkles (see this commit) causing the following warning to appear in Node’s console:
<w> [webpack.cache.PackFileCacheStrategy] Serializing big strings (110kiB) impacts deserialization
performance (consider using Buffer instead and decode when needed)
Link to reproduction
git clone https://github.com/moroshko/webpack-cache-issue.git
cd webpack-cache-issue
yarn
yarn dev
- Observe the warning
Note: You might need to rm -rf .next
to see the warning.
System Info
System:
OS: macOS 11.5.2
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 558.97 MB / 16.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 14.17.6 - ~/.nvm/versions/node/v14.17.6/bin/node
Yarn: 1.22.11 - ~/.nvm/versions/node/v14.17.6/bin/yarn
npm: 6.14.15 - ~/.nvm/versions/node/v14.17.6/bin/npm
Browsers:
Chrome: 93.0.4577.82
Firefox: 92.0
Safari: 14.1.2
npmPackages:
@vanilla-extract/babel-plugin: 1.1.0 => 1.1.0
@vanilla-extract/css: 1.6.0 => 1.6.0
@vanilla-extract/next-plugin: 1.0.0 => 1.0.0
@vanilla-extract/recipes: 0.1.0 => 0.1.0
@vanilla-extract/sprinkles: 1.3.0 => 1.3.0
Issue Analytics
- State:
- Created 2 years ago
- Reactions:20
- Comments:25 (9 by maintainers)
Top Results From Across the Web
[webpack.cache.PackFileCacheStrategy] Serializing big ...
PackFileCacheStrategy ] Serializing big strings (110kiB) impacts ... Serializing big strings (102kiB) impacts deserialization performance (consider using ...
Read more >Suppress "Serializing big strings impacts deserialization ...
Per the title, wondering if it is possible to suppress the "Serializing big strings impacts deserialization performance" warning messages ...
Read more >package (#175918) · Jobs · ReactWeb5 / CivWeb · GitLab
<w> [webpack.cache.PackFileCacheStrategy] Serializing big strings (875kiB) impacts deserialization performance (consider using Buffer instead and decode ...
Read more >New site design is causing problems - Ciaervo
The warning I see during the build process is: Serializing big strings (319kiB) impacts deserialization performance (consider using Buffer ...
Read more >vanilla-extract - bytemeta
[webpack.cache.PackFileCacheStrategy] Serializing big strings (110kiB) impacts deserialization performance · Previous Next. Make software development more ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@mattcompiles Looks like quite a few people are hitting this warning. Any chance to look into it any time soon?
it’s still happening on latest vanilla-extract with next.js:
deps:
node version: 16.14.2