A word of advice, don't follow buzzword advices before hitting the problem. 
When faced with reality, there were lots of people "putting javascript at 
the bottom" but forgetting that if you transfer them every time (or wait 
for a 304) --> 100x worse.
Also, people "putting at the bottom" don't realize that they are working 
towards - usually - 5 ms improvements. Yep, it's an improvement, but don't 
waste night hours on it.

On Friday, May 9, 2014 12:46:13 AM UTC+2, Joe Barnhart wrote:
>
> Some folks recommend javascript files be placed at the end of the page to 
> facilitate fast loading. We have the "response.files" idiom that makes it 
> easy to compress and serve the static files, but it with 
> response.include_files() to append the files to the header.  It can't serve 
> both header and footer at present.
>
> Is there a need to have a new variable which does the same thing, but is 
> defined to be used for scripts in the footer area?  Or is it not really 
> important to load static script files with the end of the page instead of 
> the header?
>
> -- Joe 
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to