Project

rack-embed

0.01
No commit activity in last 3 years
No release in over 3 years
Rack::Embed embeds small images via the data-url (base64) if the browser supports it.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.8.3
 Project Readme

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