forked from CartoDB/cartodb
-
Notifications
You must be signed in to change notification settings - Fork 23
Visualization payload
Andrew W. Hill edited this page Jul 25, 2014
·
5 revisions
| component | payload | notes |
|---|---|---|
| Core payload | 5.2 kb | only html |
| Initial mapview (avg) | ~1Mb | It may vary depending on the map complexity or if the map has baselayer or torque layer and map size |
| Initial mapview (mobile size) | ~150kb | |
| Initial mapview (30" monitor) | ~1.2Mb |
So basically, to see a map:
5.2kb html + 153kb cartodb.js + 13kb carto.css + 20kb*number_of_tiles
Payload for initial interactivity layer: initial_mapview_payload + 2kb (grids are loaded on demand)
| component | payload | notes |
|---|---|---|
| cartodb.js | 153Kb | |
| cartodb.core.js | 17Kb | (core library is not enough to show a map, you would need another 33 + 2.4 kb from leaflet to see a map) |
| cartodb.css | 13kb |
| component | payload | notes |
|---|---|---|
| cartodb.uncompressed.js | 244Kb |