Retro.Phoenix.Plug.MinifyHtmlBody (Retro v2.2.0) View Source

A plug that minifies the response body when the content type of response is text/html.

Usage

pipeline :browser do
  plug :accepts, ["html"]
  # ...
  plug Retro.Phoenix.Plug.MinifyHtmlBody
end

Reference