I'm not sure if I am answering your question correctly, but here it goes.
I don't see why you can't offload all CSS/JS (anything front-end to CDN). Front-end styling/scripts that are static don't need to be hosted on your device/server and saves processing (read) on the device/server. Processing should be reserved for functions on the server such as database and back-end processing (in your case, the sensors).
Your graphs will most likely be styled with css/js and that can come from the CDN.
Hope this helps.
-----------------------
If this is helpful please accept answer.