forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Crossley (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FOR-1147) the JavaScript external files should be referenced in body not head of html
Date Thu, 08 Jan 2009 01:54:44 GMT

    [ https://issues.apache.org/jira/browse/FOR-1147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12661819#action_12661819
] 

David Crossley commented on FOR-1147:
-------------------------------------

My site's output is the default "xhtml-1.0 strict" coming from the Dispatcher plugin. I have
my extra "script" tags at the end of the last "div" element of "body". From my reading of
the DTD, that is allowed. Also in "xhtml-1.1" okay.

The site does validate okay with W3C Validator.

> the JavaScript external files should be referenced in body not head of html
> ---------------------------------------------------------------------------
>
>                 Key: FOR-1147
>                 URL: https://issues.apache.org/jira/browse/FOR-1147
>             Project: Forrest
>          Issue Type: Sub-task
>          Components: Plugin: internal.dispatcher
>    Affects Versions: 0.9-dev
>            Reporter: David Crossley
>
> Optimisation guidelines suggest to declare the *.js files towards the end of the "body"
rather than from the "head". This will delay these http requests and so lets the "head" be
loaded more quickly.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message