since ‎20-02-2018
‎10-12-2019
genej56194893
Level 2
Re: JS library that runs before Data Elements
Avatar

genej56194893

genej56194893
- Adobe Experience Platform Launch
I've run into a few edge cases where this would be helpful.We have a few data elements which unfortunately have some unique edge cases.As a result, they have some decently complex custom JS.They often include helper functions which do things like split up comma delimited lists before hitting a maximum character limitation. We have to include the same functions in every data element because there isn't a guaranteed execution order for data elements.Having rules which can execute prior to data ele...

Views

3.1K

Likes

0

Replies

0
Enable Better Compression of JS with Brotli
Avatar

genej56194893

genej56194893
- Adobe Experience Platform Launch
JS bundles in Launch are compressed with gzip, which saves many bytes. However, there is a new compression algorithm which can yield even better network (and thus user) performance: Brotli.Brotli is supported by all modern browsers and improves compression of JS by 14% over gzip (see the Akami Blog entry linked later).A sample showing possible compression levels is https://tools.paulcalvano.com/compression.php Here we can see that Launch bundles are compressed at gzip level 6, a good compromise ...

Views

636

Likes

5

Replies

0