I am writing a polling view in Django -- being called once per second. I'd like to avoid the effect of hammering the server (since its a small device).
Currently I'm returning this response:
return HttpResponse(json.dumps({'body':body}))
but is there a more appropriate way to do this, thus using minimal resources / features for this simple / ongoing response?