View Source Frugality.Generator behaviour (Frugality v0.1.0)
A behaviour for producing HTTP document metadata.
Defines two callbacks - Frugality.Generator.etag/1
and
Frugality.Generator.last_modified/1
.
Request preconditions are evaluated agains at least one of two pieces of metadata - an entity-tag and a last-modified timestamp.