- 
                Notifications
    You must be signed in to change notification settings 
- Fork 54
Description
Hello,
We are experiencing a recurring issue with Office Scripts in Excel Online in our production environment.
Every time a script is modified, or when a new user runs the script for the first time, Excel Online experiences a temporary freeze before the actual execution begins. This freeze can last several minutes and significantly impacts the user experience.
After this initial execution, subsequent runs are fast, which suggests the issue is related to initial compilation or script caching.
The script itself is well optimized and executes very quickly once compiled. No error messages are displayed.
This behavior is problematic for our production deployment, especially in a multi-user/multi-files context.
Questions:
Is there a way to precompile or preload scripts to avoid this freeze?
Is it possible to share the compilation cache between users or sessions?
Do you have any official recommendations to reduce this kind of latency?
Thank you in advance for your assistance.
Excel Online build 16.0.19406.42306