3 ms·
And then, at the end, there's one line of useless info - a weather forecast for their server location. Forecast: today Partly cloudy in the morning and breezy
by Animats 8y ago
And then, at the end, there's one line of useless info - a weather forecast for their server location.
Forecast: today Partly cloudy in the morning and breezy until afternoon. / tomorrow Partly cloudy until afternoon. / day after tomorrow Clear throughout the day.
For that, they pulled in JQuery and made a XMLHTTP request.
- bovermyer 8y agoNot useless, as it's relevant to the solar power for the server.
- licyeus 8y agoThe weather content is relevant in that their server would go offline with too many cloudy days. If their intent is to lower energy consumption of their server alone, offloading this weather check is the correct choice. But surely requesting+caching that info on their end (by perhaps rebuilding the static site every hour with an updated forecast) would be overall more efficient than having X number of clients request the data.
- boomlinde 8y agoAll it amounts to is one additional request, and the json file itself is probably generated by a cron job, not dynamically on demand. Surely rebuilding the website every hour (and invalidating the cache for X number of clients) would result in more requests.