code: @Override
  	public void streamBundleTo(String bundlePath, OutputStream out) throws ResourceNotFoundException {
  
  		// Remove prefix, which are used only in production mode
  		String path = PathNormalizer.removeVariantPrefixFromPath(bundlePath);
  		ReadableByteChannel data = null;
  		try {
  			if (liveProcessBundles.contains(path)) {
  
  				Reader rd = null;
  				try {
  					rd = resourceBundleHandler.getResourceBundleReader(path);
  					StringReader strRd = processInLive(rd);
  					StringWriter strWriter = new StringWriter();
  					IOUtils.copy(strRd, strWriter);
  
  					ByteArrayOutputStream bos = new ByteArrayOutputStream();
  					try (GZIPOutputStream gzOut = new GZIPOutputStream(bos)) {
  						byte[] byteData = strWriter.getBuffer().toString().getBytes(config.getResourceCharset().name());
  						gzOut.write(byteData, 0, byteData.length);
  					}
  					ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray());
  					data = Channels.newChannel(bis);
  				} finally {
  					IOUtils.close(rd);
  				}
  
  			} else {
  				data = resourceBundleHandler.getResourceBundleChannel(path);
  			}
  
  			WritableByteChannel outChannel = Channels.newChannel(out);
  			IOUtils.copy(data, outChannel);
  
  		} catch (IOException e) {
  			throw new BundlingProcessException("Unexpected IOException writing bundle [" + path + "]", e);
  		} finally {
  			IOUtils.close(data);
  		}
  	}
docs: /*
  (non-Javadoc)
  
  @see
  net.jawr.web.resource.bundle.ResourceBundlesHandler#streamBundleTo(java
  .lang.String, java.io.OutputStream)