web-infra-dev / rspack

The fast Rust-based web bundler with webpack-compatible API 🦀️
https://rspack.dev
MIT License
9.16k stars 531 forks source link

[Feature]: Persistent Cache support #5658

Open pushkargupta9807 opened 6 months ago

pushkargupta9807 commented 6 months ago

What problem does this feature solve?

Faster warm starts for applications.

Currently the warm starts with webpack are slightly better than the cold starts with rspack. This is preventing us to move to rspack for local development. This support of persistent cache is a must have to onboard developers for their local development.

What does the proposed API of configuration look like?

https://webpack.js.org/configuration/cache/

stale[bot] commented 4 months ago

This issue has been automatically marked as stale because it has not had recent activity. If this issue is still affecting you, please leave any comment (for example, "bump"). We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!

NetherGranite commented 4 months ago

Bump 🙂

pushkargupta9807 commented 4 months ago

Bump :)

woshirubbish commented 3 months ago

Bump

huhuaaa commented 3 months ago

Bump

childrentime commented 1 month ago

@jerrykingxyz I think when solving this problem, we can conveniently add remote caching functionality. https://turbo.build/repo/docs/core-concepts/remote-caching

hardfist commented 1 month ago

@jerrykingxyz I think when solving this problem, we can conveniently add remote caching functionality. turbo.build/repo/docs/core-concepts/remote-caching

this may depend on portable persistent cache which is another feature

woshirubbish commented 1 month ago

收到!