Putting the CSS stylesheets at the top of your web page and moving the scripts to the bottom are only two of thirty four rules described in Best Practices for Speeding Up Your Website (by Yahoo). Following these two rules, however, can really decrease visible time of page rendering. I will present a simple solution to achieve this in symfony framework.
Whenever you invoke use_javascript and use_stylesheet helpers your JavaScripts and stylesheets are not directly put into the content. This task is given to sfCommonFilter which is responsible for injecting JavaScript and stylesheet includes right before tag. Thanks to that we can safely request inclusion of the same file multiple of times and it's pasted into the content only once. It's nice but can be slightly improved by following the earlier mentioned Yahoo rules.
Stylesheets are already at the top. The only thing left is to move JavaScripts right before the