Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

squeezy

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

squeezy

bundlerRubygems
Version
0.0.1
Version published
Maintainers
1
Created
Source

= Squeezy

CSS and JS go in, compressed version go out, that's what Squeezy is all about.

== Prerequisites

You need a recent version of jruby installed.

== Usage

  • CLASSPATH=ext/jargs-1.0.jar:ext/yuicompressor-2.4.2.jar jruby -rubygems app.rb /path/to/rails/public/dir
  • Redirect js/css requests from nginx (or whatever) to squeezy.
  • Watch JS/CSS get compressed!

== Rationale

I hate pre-compiling things. JS/CSS compression should be a product of your environment, not something you do before hand.

== TODO

Squeezy should handle conditional get/head requests correctly. It should cache the compressed results.

FAQs

Package last updated on 22 Oct 2010

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts