forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian M Dube (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FOR-1147) the JavaScript external files should be referenced in body not head of html
Date Tue, 30 Dec 2008 03:33:44 GMT

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

Brian M Dube commented on FOR-1147:
-----------------------------------

I mean where script tags are allowed in a document. The way I read it, XHTML specifies head
as the only parent for script elements. HTML 4 was more relaxed about their placement.

> 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