Version | size (minified) | size (minified & gzipped) | |
---|---|---|---|
0.4.2 | webcomponents.js | 127KB | 37KB |
0.5.5 | webcomponents.js | 99KB | 28KB |
webcomponents-lite.js | 28KB | 8.8KB | |
0.6.0 | webcomponents.js | 108KB | 31KB |
webcomponents-lite.js | 35KB | 11KB | |
0.4.2 | polymer.js | 110KB | 33KB |
0.5.5 | polymer.js | 121KB | 36KB |
0.8.0 (rc2) | polymer.html* | 87KB | 23KB |
* Generated with Vulcanize and the --strip
option
As of Polymer 0.8 using webcompoments-lite.js is the recommended approach, which means that your total payload with the latest versions becomes ~34KB of gzipped content. That includes Polymer and all web components polyfills. For comparison jQuery 2.1.x is ~28KB gzipped and Angular 1.3.x is ~49KB. Nice work Polymer team!
If I have to build a new website with lots of google maps and layers above it. What would you say polymer or react or both?