Skip to content
This repository has been archived by the owner on Oct 2, 2019. It is now read-only.

Support for preloaded applications (cache manifest early) #78

Open
Billiam opened this issue Feb 9, 2017 · 0 comments
Open

Support for preloaded applications (cache manifest early) #78

Billiam opened this issue Feb 9, 2017 · 0 comments

Comments

@Billiam
Copy link

Billiam commented Feb 9, 2017

We wanted to make sure that the asset manifest is loaded early in our Rails boot process, so that forking servers (like unicorn) have the manifest data cached for new workers, instead of going to disk for it.

I'm using a private api method in an initializer to accomplish this currently:

Webpack::Rails::Manifest.send(:manifest)

Could a public/supported method be added for this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant