[ 
https://issues.apache.org/jira/browse/TAPESTRY-2364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12637225#action_12637225
 ] 

Martin Strand commented on TAPESTRY-2364:
-----------------------------------------

I understand your concern Onno, I just believe the more common case is to have 
it the other way around - wanting the page to render as quickly as possible on 
the first visit.

You say the overhead is minimal since the script is cached, but that also 
applies to your own use case.
Your problem occurs when the page is fully rendered and the client waits for 
those scripts at the bottom to load before you get to manipulate the DOM. That 
would not be an issue once the scripts are cached.

> YSlow Recommendation: Write Scripts at bottom of page
> -----------------------------------------------------
>
>                 Key: TAPESTRY-2364
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2364
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: tapestry-core
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>             Fix For: 5.0.12
>
>
> Tapestry is already doing a good job on this, by writing the dynamically 
> generated <script> block at the bottom of the page, but the external scripts 
> should also be down there.
> http://developer.yahoo.com/performance/rules.html#js_bottom

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to