3 ms·
To make it sound more serious (or more funny, in this example), add three more zeroes to these numbers. Right now the whole site downloads the amount of data eq
by wruza 4y ago
To make it sound more serious (or more funny, in this example), add three more zeroes to these numbers. Right now the whole site downloads the amount of data equivalent to 5000 recipes slightly compressed in transit, and also takes 250MB+ of RAM.
I actually wish all e-stores downloaded and cached all info for at least the current shopping section. Because the current behavior is to wait several seconds for each set of filters you may change.
It's nice to be ready for huge volumes of data, but also don't lie to yourself by thinking that your store will ever have inventory as large as 0.001% of that of Amazon. It will always be the same 1 MB that you'll query hundreds of times per second instead of fetching it once per client and letting their device do the job much faster.