Minified version of JS
Does anyone know where I can find a minified version of the http://cdn.optimizely.com/js/21882493.js?
We got a 96/100 on the Google Page Test and the Optimizely JS is the only one that's not minified.
Guess it is a good question for the optimizely team. Why is it not 100% minified?
or browser extensions (https://connect.planwise.com?view=installExtension), so our code can't even kick off until their DOM is already rendered, so that automatically adds an extra 1 - 1 1/2 second delay to our load time, which puts us at a disadvantage to everything else on the page.
Why is this script not completely minified? Is there an additional minified copy available? If not, does Optimizely have plans to provide one?
Hi David and others,
Because of the way we render the client template with optional stuff (geo, integrations, etc), it's pretty difficult for us right now to accomplish further minifying of our snippet in our existing (A/B) client.
We could further minify the snippet by compiling all of the snippet contents into one bundle, but unfortunately I cannot give you a timeframe for when that should be done. Fortunately the snippet is already pretty minified, so I feel that the extra load time should be marginal.
Naturally it's hard for me to understand the hurdles remotely, but thank you for the quick reply. Although arguably marginal, every byte counts in my opinion. This is the impact Google Page Insights estimates it to be:
Minifying [Optimizely JS] could save 662B (2% reduction) after compression.
I appreciate your openness. I hope your team can find a method to provide a completely minified resource soon. Thanks.