prebid / Prebid.js

Setup and manage header bidding advertising partners without writing code or confusing line items. Prebid.js is open source and free.
https://docs.prebid.org
Apache License 2.0
1.33k stars 2.09k forks source link

prebid.js size #3603

Closed mahammer closed 5 years ago

mahammer commented 5 years ago

I am really wondering why pbjs 2.x is such a behemoth? The pbjs 1.x builds with the adapters I needed are around 180kb. Now enter pbjs 2.x is moving towards 350kb.

That's a lot to load, especially on mobile devices. Could someone tell my why it grew or had to grow so much in size? The more you have to load, the later the auction can start, the less it becomes headerbidding ;)

GLStephen commented 5 years ago

In PB 2.0 a few adapters contribute more net size. Particularly Criteo.

mahammer commented 5 years ago

Ah. Just tested 2.4 with just the GDPR module comes in at 122kb So there's literally 220kb of adapter piled on top. Thanks!