class

Sprockets::LazyCompressor

v3.2.13 - Show latest stable - Superclass: Object

An asset compressor which only initializes the underlying compression engine when needed.

This postpones the initialization of the compressor until #compress is called the first time.

Files

  • actionpack/lib/sprockets/compressors.rb