As a crude experiment I just took an old HTML file picked at random and search and replaced
The HTML had 14 entries across 24 races, and included race tables for each excluding DNCs. So yes it wasn’t huge although there were well over 1000
It was 57kb and rose to 88kb by doing that. Shortening “someclass” to “sc” reduces that to 76kb, so I guess a bit fo code tidying could probably push it closer still towards the original value.
Deleting the minimal CSS in the page saved 1kb! But I would agree a linked style sheet is the logical thing to do although makes config more complex.
I know many places are on slow connections - but even at 9.6kbaud (dial up via analogue mobile!) thats 1.2kbytes / second. So a 100kb file should upload in 83 seconds. Allowing for handshakes etc - 2 minutes.
For the same reason (smaller files) I would shy away from using
Javascript to simply change a few column headings from English to some
other language. Better to do that right in Sailwave so the output HTML
is minimized in size.
OR - are we doing this all wrong? Should we be uploading an XML file with an XSLT? Not sure what size the XML would be? (Presumably the field names will influence that - and it may make sense to use the ISAF names…)
However - has the potential that you could have two or three XSLT files (overall results, individual races etc) uplaoded and then JUST upload the XML data each time a race is scored…
I think the XSLT file would actually be quite compact though as it has loops in it.
http://www.w3schools.com/xml/tryxslt.asp?xmlfile=simple&xsltfile=simple
Since the sailwave file is already in XML format you’d think this is easy. My biggest concern would be putting the whole BLW file on will include info you wouldn’t want on a webserver (email, medical conditions etc).