I'm not so sure you'd want to throw away all of that processing power on the client though. Running some performance testing on different types of devices and figuring out which ones can handle it fine to good enough (especially if you can do it in the background with a web worker) while sending really horribly performing devices right to the backend.
Indeed - I'm working on integrating this into the static site generator I use, so it's only run offline.