To gain more performance within Profound.js, you can start the server by adding theĀ --optimize argument.
This argument will cache different parts of your application thus making it perform faster.
However, this optimization disables the ability to do many development tasks, such as:
- Making changes to database tables
- Any change would require the Profound.js Instance to be restartedĀ
- Making changes to screens and modules
- Disabled hot module reloading
- Any change would require the Profound.js Instance to be restartedĀ
- Users having different library lists
IBM i instance:
Open the instance configuration on the IFS at /profoundjs-base/INSTANCE_NAME/conf.
Restart the instance for this change to take affect.
Append this line to the bottom of the file:
args: "--optimize"
On your local PC or another server
Append this argument to the standard start command
node start --optimize