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

Add webpacker caching support #1103

Conversation

danielwestendorf
Copy link

Cache the default webpacker folders. This consists of the compiled output and a last-compilation-digest-ENV file, resulting in re-use of the existing pack files when the manifest. This cut rails assets:precompile down from 240.79s -> 42.85s on one of my apps.

Webpacker obviously wasn't a thing with rails4, but I chose to implement here quickly as a proof of concept.

@danielwestendorf danielwestendorf requested a review from a team as a code owner December 18, 2020 19:01
@danielwestendorf
Copy link
Author

Closing because of #892 (comment)

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