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

Omit cache key entirely when build cache is disabled #905

Merged
merged 1 commit into from
Jan 31, 2021

Conversation

weaverryan
Copy link
Member

Fixes an issue where yarn watch or yarn dev-server had super slow "rebuilds" - as long as the initial build, which is much different than the pre-1.0 version of Encore.

It appears that cache: false is different than omitting the cache key entirely. Using cache: false appears to even disable in-memory caching that Webpack does when rebuilding in "watch" mode or for the dev-server

It appears that cache: false is different than omitting the cache key
entirely. Using cache: false appears to even disable in-memory caching
that Webpack does when rebuilding in "watch" mode or for the dev-server
@weaverryan weaverryan merged commit 9fd5f05 into symfony:main Jan 31, 2021
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