Ultralight weight skin proposed.

Skip to first unread message

wysiwyg

unread,
May 9, 2020, 2:38:05 PM5/9/20
to weewx-user
Hi!

Several years ago, I worked on a skin that would pass the "mobileOK" tests from W3C validator (because...why not?)
This validator is not available anymore, but it was build (I think) to match with network speed from "wap" age (that's old !!)

Anyway, it spent some funny time to find some tricks to reduce as much as possible the page weight.

I cleaned up the work, upload on github and tried to make a wee_extension script.

The skin is available here, and demo is here

It looks like:


It's not extremly fancy, but it need very very few kByte to open it (about 10kB, even less depending on cache and/or by removing the favicons).

The trick is that it won't download the graphs until you open the menu you like to see, to save as much bandwidth as possible.
The graphs are not that big, but each of them are ~10-30kB, so it's a few hundreds kB when opening them all together while you may only want to check yesterday rain.

It will probably look like a joke to your 3G, LTE, DSL or fiber modems, but it might be interesting if or when you have only a poor GPRS or any very slow connexions.

It will display on PC screen, but it was intended to be used on phone, so the layout may not be at its best on a very large screen.

Comments welcomes :-)






Reply all
Reply to author
Forward
0 new messages