Defer all log calls rather than at each exit.
More work on caching.
Added a basic string response.
Added an example.