A sage package for pre-compiling acorn view loaders and thus making them cacheable.
composer require generoi/sage-cacheable-viewloadersTo compile loaders of all the views run the following command.
NOTE that this needs to run after view:cache since that command clears the caches.
wp acorn viewloader:cache