{"action":"created","issue":{"url":"https://api.github.com/repos/RWOverdijk/AssetManager/issues/173","labels_url":"https://api.github.com/repos/RWOverdijk/AssetManager/issues/173/labels{/name}","comments_url":"https://api.github.com/repos/RWOverdijk/AssetManager/issues/173/comments","events_url":"https://api.github.com/repos/RWOverdijk/AssetManager/issues/173/events","html_url":"https://github.com/RWOverdijk/AssetManager/issues/173","id":70066185,"number":173,"title":"Slowness if no cache is enabled","user":{"login":"Gamempire","id":2010696,"avatar_url":"https://avatars.githubusercontent.com/u/2010696?v=3","gravatar_id":"","url":"https://api.github.com/users/Gamempire","html_url":"https://github.com/Gamempire","followers_url":"https://api.github.com/users/Gamempire/followers","following_url":"https://api.github.com/users/Gamempire/following{/other_user}","gists_url":"https://api.github.com/users/Gamempire/gists{/gist_id}","starred_url":"https://api.github.com/users/Gamempire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gamempire/subscriptions","organizations_url":"https://api.github.com/users/Gamempire/orgs","repos_url":"https://api.github.com/users/Gamempire/repos","events_url":"https://api.github.com/users/Gamempire/events{/privacy}","received_events_url":"https://api.github.com/users/Gamempire/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-04-22T09:09:47Z","updated_at":"2015-04-22T10:58:22Z","closed_at":"2015-04-22T09:16:44Z","body":"Hi, I'm using AssetManager with cache disabled in a development environment.\r\nThis way, it tooks about 5 seconds to load a js file, is it normal?\r\n\r\nThis is my configuration, maybe I could optimize it?\r\n\r\n```\r\n    'asset_manager' => array(\r\n        'resolver_configs' => array(\r\n            'collections' => array(\r\n                'css/css.css' => array(\r\n                    'vendor/bootstrap.css',\r\n                    'vendor/font-awesome.css',\r\n                    'vendor/slick.css',\r\n                    'vendor/slick-theme.css',\r\n                    'vendor/jquery.formstone.checkbox.css',\r\n                    'vendor/jquery.formstone.dropdown.css',\r\n                    'css/css-sass.css',\r\n                ),\r\n                'css/css-sass.css' => array(\r\n                    'css/main.scss',\r\n                ),\r\n                'js/js.js' => array(\r\n                    'vendor/jquery.js',\r\n                    'vendor/jquery.formstone.core.js',\r\n                    'vendor/jquery.formstone.touch.js',\r\n                    'vendor/jquery.formstone.checkbox.js',\r\n                    'vendor/jquery.formstone.dropdown.js',\r\n                    'vendor/jquery-ui.effect.js',\r\n                    'vendor/bootstrap.js',\r\n                    'vendor/react.js',\r\n                    'vendor/JSXTransformer.js',\r\n                    'js/utils/array.utils.js',\r\n                    'js/utils/string.utils.js',\r\n                    'js/utils/date.utils.js',\r\n                    'js/main.js',\r\n                ),\r\n                'js/compatibility.js' => array(\r\n                    'js/respond.js',\r\n                    'js/html5shiv.js'\r\n                ),\r\n                'vendor/bootstrap.js' => array(\r\n                    'vendor/bootstrap/js/modal.js',\r\n                    'vendor/bootstrap/js/tooltip.js',\r\n                ),\r\n            ),\r\n            'paths' => array(\r\n                __DIR__ . '/../assets',\r\n                'vendor/bootstrap/dist/',\r\n                'vendor/font-awesome/',\r\n            ),\r\n            'aliases' => array(\r\n                'vendor/' => __DIR__ . '/../../../vendor/',\r\n            ),\r\n            'map' => array(\r\n                'vendor/bootstrap.css'                 => 'vendor/bootstrap/dist/css/bootstrap.css',\r\n                'vendor/font-awesome.css'              => 'vendor/font-awesome/css/font-awesome.min.css',\r\n                'vendor/jquery.js'                     => 'vendor/jquery/dist/jquery.js',\r\n                'vendor/jquery-ui.effect.js'           => 'vendor/jquery-ui/ui/effect.js',\r\n                'vendor/jquery.formstone.core.js'      => 'vendor/formstone/dist/js/core.js',\r\n                'vendor/jquery.formstone.touch.js'     => 'vendor/formstone/dist/js/touch.js',\r\n                'vendor/jquery.formstone.checkbox.js'  => 'vendor/formstone/dist/js/checkbox.js',\r\n                'vendor/jquery.formstone.checkbox.css' => 'vendor/formstone/dist/css/checkbox.css',\r\n                'vendor/jquery.formstone.dropdown.js'  => 'vendor/formstone/dist/js/dropdown.js',\r\n                'vendor/jquery.formstone.dropdown.css' => 'vendor/formstone/dist/css/dropdown.css',\r\n                'vendor/react.js'                      => 'vendor/react/react-with-addons.js',\r\n                'vendor/JSXTransformer.js'             => 'vendor/react/JSXTransformer.js',\r\n                'vendor/slick-carousel.js'             => 'vendor/slick-carousel/slick/slick.min.js',\r\n                'vendor/slick.css'                     => 'vendor/slick-carousel/slick/slick.css',\r\n                'vendor/slick-theme.css'               => 'vendor/slick-carousel/slick/slick-theme.css',\r\n                'js/respond.js'                        => 'vendor/respond/src/respond.js',\r\n                'js/html5shiv.js'                      => 'vendor/html5shiv/dist/html5shiv.js',\r\n            ),\r\n        ),\r\n        'filters' => array(\r\n            'css/css-sass.css' => array(\r\n                array(\r\n                    'service' => __NAMESPACE__ . '\\Filter\\SassScssFilter',\r\n                ),\r\n            ),\r\n            'css' => array(\r\n                array(\r\n                    'service' => __NAMESPACE__ . '\\Filter\\UglifyCssFilter',\r\n                ),\r\n            ),\r\n            'js' => array(\r\n                array(\r\n                    'service' => __NAMESPACE__ . '\\Filter\\UglifyJs2Filter',\r\n                ),\r\n            ),\r\n        ),\r\n        'caching' => getenv('CACHE') == 'true' ? array(\r\n            'default' => array(\r\n                'cache'     => __NAMESPACE__ . '\\Cache\\AssetManagerZendCache',\r\n            ),\r\n        ) : null,\r\n    ),\r\n```\r\n\r\nFor example, the file that load in 5 seconds is `js/js.js`\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/RWOverdijk/AssetManager/issues/comments/95137578","html_url":"https://github.com/RWOverdijk/AssetManager/issues/173#issuecomment-95137578","issue_url":"https://api.github.com/repos/RWOverdijk/AssetManager/issues/173","id":95137578,"user":{"login":"Gamempire","id":2010696,"avatar_url":"https://avatars.githubusercontent.com/u/2010696?v=3","gravatar_id":"","url":"https://api.github.com/users/Gamempire","html_url":"https://github.com/Gamempire","followers_url":"https://api.github.com/users/Gamempire/followers","following_url":"https://api.github.com/users/Gamempire/following{/other_user}","gists_url":"https://api.github.com/users/Gamempire/gists{/gist_id}","starred_url":"https://api.github.com/users/Gamempire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gamempire/subscriptions","organizations_url":"https://api.github.com/users/Gamempire/orgs","repos_url":"https://api.github.com/users/Gamempire/repos","events_url":"https://api.github.com/users/Gamempire/events{/privacy}","received_events_url":"https://api.github.com/users/Gamempire/received_events","type":"User","site_admin":false},"created_at":"2015-04-22T10:58:21Z","updated_at":"2015-04-22T10:58:21Z","body":"Ok understand now :+1: I'll try removing paths."}}