On Monday, February 20, 2017 at 9:33:27 AM UTC-8, tempus wrote:
>
> This is merely a suggestion for consideration.
> 173 bytes doesn't seem like much. However, with 3-second updates there 
> will 86400 / 3 = 28,800 file transmissions per day to each concurrent 
> user.  28,800 x 173 bytes = 4,982,400 unnecessary bytes-per-day-per-user.  
> It is not uncommon for individual pages at active websites to have large 
> numbers of concurrent visitors, so why waste the bandwidth and processing 
> time?
>
>
I'd offer a counter-suggestion mentioning that this is not 1988 with 386SX 
processors and 1200 baud modems.   You'd need an incredibly large number of 
concurrent users to even notice any difference.  I'd suspect that no weewx 
site in the world has enough simultaneous users to make that 
over-optimization necessary.

Every piece of software has a balance in how it's optimized versus 
size/speed/supportability.  A little whitespace isn't killing anybody if it 
makes the product more supportable.

And you can of course modify 'your' system to strip whitespace out in 
'your' templates if you feel the need is so strong.

 

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to