Closed thomastay closed 2 years ago
Update: I did some investigation. This decreases DCL time down by almost 100ms. Turns out the onLoad handler was taking 105ms, so we cut that time out. Adding additional data pushes us up to 2 gzip blocks, adding about 400 bytes from 9508b -> 9907b. Assuming 3G network speeds, we have about 128kb per second, which means that the additional 400 bytes will take roughly 3-4 ms. All together, this means we save 96ms, which is worth it.
Without SSR:
With SSR:
Reduced the number of suggestions to 100. With that, the extra bundle size is ~1.4kb. This brings the total bundle size to 26.6kb minified.
Need to investigate: does this still fit into a single gzip block?