I’m up a bit later than I should be, but it’s all well and good (right), as I stumbled across some JavaScript code that’s allowed me to improve the Wudicam page a bit.
Previously, I was using a ‘refresh’ meta-tag that forced the entire page to refresh every 30 seconds — a fairly ridiculous waste of bandwidth, but I didn’t know any better when I put everything together. While surfing around tonight, however, I found a simple little JavaScript that now updates the image only, without needing to refresh the entire page, every five seconds (much better than the previous 30 second refresh), and will only do so if there is actually a new picture to post. So, less unecessary data being thrown across the ‘net, and a much faster refresh time on the cam picture.
You really Gotcha nice blog here