{"issue":{"state":"open","created_at":"2011-11-22T02:29:18Z","updated_at":"2011-11-22T02:29:18Z","comments":0,"user":{"gravatar_id":"3f0f44fb6eb65f9f9015e9d842ddf76d","id":608862,"url":"https://api.github.com/users/kachkaev","login":"kachkaev","avatar_url":"https://secure.gravatar.com/avatar/3f0f44fb6eb65f9f9015e9d842ddf76d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"At present ```assetic.debug``` config option controls both sticking assets together and use of filters defined as ```filter=\"?filter_name\"```. So you cannot set assetic so that it will return you a single file for every group of assets, but use no compressors at the same time.\r\n\r\nThus, when there are too many bits your css and js are built of, developing becomes a headache. Every time you refresh the page you have to wait for dozens of controller requests to complete, or to make the compressors to run, which is also slow. Too much unwanted work in both cases.\r\n\r\nThe solution could be probably another config option that would permanently switch off any filters in a non-debugging mode, i.e.\r\n\r\n```\r\n#app/config/config.yml\r\nassetic:\r\n    debug:          false\r\n    use_controller: false\r\n    filters:\r\n        cssrewrite: ~\r\n        closure:\r\n            jar: %kernel.root_dir%/java/compiler.jar\r\n        yui_css:\r\n            jar: %kernel.root_dir%/java/yuicompressor.jar\r\n```\r\n\r\n```\r\n#app/config/config_dev.yml\r\nassetic:\r\n    debug: false <--- glue files,\r\n    use_controller: true\r\n    ignore_all_filters: true # <--- but ignore the filters\r\n```\r\n\r\nIf I am not missing anything and someone else thinks the problem is worth fixing, I can implement the solution and do a pull request.","assignee":null,"id":2313802,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[],"number":48,"title":"No way to “glue” assets, but avoid filters","closed_at":null,"html_url":"https://github.com/symfony/AsseticBundle/issues/48","url":"https://api.github.com/repos/symfony/AsseticBundle/issues/48","milestone":null},"action":"opened"}