class Sinatra::Helpers::Stream::TemplateCache

Extremely simple template cache implementation.

* Not thread-safe.
* Size is unbounded.
* Keys are not copied defensively, and should not be modified after
  being passed to #fetch.  More specifically, the values returned by
  key#hash and key#eql? should not change.

Implementation copied from Tilt::Cache.