Hey I'm currently running into an issue with the Asset Class I am adding 3 js files in a view: Asset::js('jquery.history.js', array(), 'js'); Asset::js('ranking.page.js', array(), 'js'); Asset::js('jquery-ui.combobox.js', array(), 'js');
And rendering these in a template like this: echo Asset::render('js');
in your views and templates. Make a page request, and check the logs, so you know whether or not you have to check your controller flow and the way you setup your Response.
If that doesn't give any clue, go into Asset::js(), and add \Debug::backtrace(). Request a page again, and you'll see a backtrace dump from every call, which allows you see exactly what is calling the method.
Nothing wrong with this controller, so I guess it's the template that gets rendered three times as well.
If you are on 1.7 (not 1.7.1), or you have upgraded from 1.7 but haven't checked your index.php, it could be caused by a bug in there that causes the response to be rendered multiple times.