I suppose you could edit web2py_ajax.html to include only CSS files, and 
then do {{=response.include_files(extenstions=['js'])}} at the bottom of 
the layout.

Anthony

On Thursday, May 8, 2014 6:46:13 PM UTC-4, 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