Currently, the PowerShell scripts and modules in the Data Standard are frequently reloaded by the system—sometimes even twice for each action. For example, before every command execution via Data Standard (e.g., editing a file datasheet), all PowerShell scripts are reloaded twice.
During the development phase, this is convenient because the application doesn't need to be restarted after modifying the scripts. However, in later stages of operation, this becomes unnecessary. Especially in more complex environments, loading the scripts and modules can take a considerable amount of time, significantly slowing down performance. Over the course of a workday, these PowerShell scripts are reloaded very frequently.
I believe it would be beneficial to make this behavior configurable. This way, we can retain the current behavior during development but avoid redundant script loading in regular operation