Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (9 sloc) 0.307 kb

Rack::Embed

Rack::Embed embeds small images via the data-url (base64) if the browser supports it. This reduces http traffic.

Installation

gem sources -a http://gemcutter.org
gem install rack-embed

Usage

Add the following line to your rackup file:

use Rack::Embed, :max_size => 1024
Jump to Line
Something went wrong with that request. Please try again.