View Source Frugality.ConditionalGET (Frugality v0.1.0)

Automatically computes and sets a shallow entity tag and evaluates the request preconditions against it.

This plug generates shallow entity tags. Shallow means that the generated entity-tag is not context sensitive and the whole response body is used as a source for the generation.

usage

Usage

plug Frugality.ConditionalGET,
  encoder: Frugality.Encoder.MD5