Hello,
I need some assistance regarding the assets-raw/compilation functionality.
We have included a React application (~2MB minified) in the backend, for registered users.
The application:
- updates almost daily
- It’s already minified,
- We don’t want it to be included in the compiled assets or available in the public folder (it’s meant for registered members only)
- We want it to load as fast as possible, avoiding the delay of the on-demand “raw assets” router.
We currently load the App from our sprinkle like this:
<script src="{{ assets.url('assets://myapprelativefolder/...
How can we optimize the template code to a) exclude the app from the asset compilation, and b) have a static link to it avoiding the locator service?
Thanks!