Prebid.js icon indicating copy to clipboard operation
Prebid.js copied to clipboard

Bundle size increased a lot in 1.27.0

Open felipemsantana opened this issue 8 years ago • 2 comments

Type of issue

Bug

Description

From version 1.26.0 to 1.27.0 the bundle size increased by about 50%. It was 126K and now it is 185K

Steps to reproduce

Enter in http://prebid.org/download.html Select the following adapters/module

  • AOL
  • Appnexus
  • Criteo
  • Rubicon
  • Currency

Generate the bundle for versions 1.26.0 and 1.27.0, then compare the size.

felipemsantana avatar Oct 11 '18 19:10 felipemsantana

It's most likely from the Criteo adapter and its additional RSA encryption added in 1.27 for "FastBid." It required the inclusion of some extra libraries: https://github.com/prebid/Prebid.js/pull/3110

These libraries are only included in the Criteo adapter and shouldn't affect the size of the Prebid core files.

snapwich avatar Oct 11 '18 19:10 snapwich

https://github.com/prebid/Prebid.js/issues/3169

bwoolcott avatar Oct 11 '18 19:10 bwoolcott