Stuff I Have Learned: Transmit records in column-major order for better compression

The other day I achieved a 25% reduction in load time for a single-page application which requires a large amount of initial data, with just a few lines of added code. If the technique described below seems obvious, well… sorry. I’m writing it down in case it’s interesting to some readers. The web application in question needs many records from a back-end database, which are serialized to JSON and…