This repository has been archived by the owner on Oct 30, 2018. It is now read-only.
0.7.3
Features
- PR #1195: New
resourceStore.lazyResolve:true
option inapplication.json
. Normally, the resource store at server start pre-calculates the details for all mojits for all contexts/selectors (it's optimized to only do this for dimensions/selectors that are actually used). By setting this new option the resource store will skip this calculation at server start and instead do it at runtime "lazily" (as needed). This might be a good option to use if you have a large number of dimensions defined indimensions.json
and a lot of selectors defined inapplication.json
, yet your app will only serve traffic from a subset of those, or the synchronous computation of all resolutions would make your app too slow to start. This option evens-out that process in time by only triggering it the first time it's needed and caching the result.
Fixes
- fix issue #1219 npm link shared mojits failed
Acknowledgements
Thanks to Jacques Arnoux and David Gomez for contributing to this release.