Skip to Main Content
Customer Feedback

We love feedback from you on our products and the problems in your daily work that you would like us to solve. Please describe the challenge you're encountering and your desired outcome. Be as detailed as possible.

For technical issues or bugs please head to Support or our Developer Community. You can assign up to 20 votes in total. Thank you for your feedback.

Status explanation: 'Future Consideration' = Continuing to collect further feedback, not planned at this time. 'Investigating' = Prioritized for deeper customer and feasibility investigations ahead of planning development.

Status Future consideration
Categories SDKs & Agent
Created by Guest
Created on Feb 6, 2023

JavaScript SDK handles large datafiles in a performant manner. It is possible to process large datafile initialisation on a web worker.

The javascript SDK client initialises the client form the datafile. When the datafile is large, processing the JSON takes a long time. P50 20ms and P75 already gives 70ms. This is significantly long when considering page load time. It would be beneficial if the process was happening outside of the main thread and therefore not block the page load. The process could be handled by a web worker. Here's an example PR: https://github.com/optimizely/javascript-sdk/pull/794

  • Optimizely
    Griffin Cox
    Reply
    |
    May 22, 2023

    Thanks for this! We'll consider this as an enhancement to our JS SDK