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

Adopt cache-loader? #2037

Closed
jihchi opened this issue Apr 26, 2017 · 4 comments
Closed

Adopt cache-loader? #2037

jihchi opened this issue Apr 26, 2017 · 4 comments
Milestone

Comments

@jihchi
Copy link
Contributor

jihchi commented Apr 26, 2017

Webpack cache-loader has been released v1.0.

According to our test for private projects,
Bundle speed improve about 50% e.g. 43979ms --> 20083ms when cache applied.

Will CRA consider to adopt this loader?

@Timer
Copy link
Contributor

Timer commented Apr 26, 2017

We were considering adding https://github.com/jsdf/cached-loader, and it seems webpack has duplicated this plugin.

We will consider adding the more stable option. This is definitely something we're thinking about. 😄

@Timer Timer added this to the 0.10.0 milestone Apr 26, 2017
@anilreddykatta
Copy link
Contributor

@Timer If you have anything in mind. Let me know, I will spend time on it!

@Timer
Copy link
Contributor

Timer commented Apr 28, 2017

Hey @anilreddykatta, thanks for the offer!

I don't have time right now to decide what direction we'll be going on this, but I'd be interested in evaluating where it speeds up our project most when applied to specific loader(s).

If you have time, I'd appreciate seeing it applied to babel-loader (instead of their cache) and evaluating the benefits on both npm start and npm run build actions.
We should do the same for eslint-loader, and any other loaders which take a significant amount of time.

This was referenced May 5, 2017
@Timer Timer modified the milestones: 0.10.1, 0.10.0 May 14, 2017
@gaearon gaearon modified the milestones: 1.0.1, 1.0.x May 19, 2017
@gaearon
Copy link
Contributor

gaearon commented Jan 8, 2018

Going to close as stale. At this point it's likely webpack will start caching more things by default to catch up after Parcel.

@gaearon gaearon closed this as completed Jan 8, 2018
@lock lock bot locked and limited conversation to collaborators Jan 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants