Enhancements

Support different pattern for compacting depending on content (css/js).