Just got "High Performance Websites", and as discussed with you John, we're going to try and see if we can apply rule #5, "Move Scripts to the Bottom of the Page" with Pageblaster here. http://developer.yahoo.net/blog/archives/2007/07/high_performanc_5.html Some areas to cover: 1. Can the core DNN script blocks that appear in the source be moved without affecting functionality, and will this improve perceived pageload time. In particular: <script type="text/javascript">
script> and > <script src="/js/dnncore.js" type="text/javascript">script> <script src="/ScriptResource.axd?d=o48hjc11xyxPA7f3q5KwDVzfIZBqBQ7pJiTKCbjgog4qpyuilE6xB1y3avamFgdF0&t=633049125920000000" type="text/javascript">script> <script src="/ScriptResource.axd?d=o48hjc11xyxPA7f3q5KwDVzfIZBqBQ7pJiTKCbjgog4XbZ3CJq1jHfVxECJE05F3mhzf2KFHOMo1&t=633049125920000000" type="text/javascript">script> <script src="/WebResource.axd?d=e-Zx0bvhzz9bAAMy2-M8oQ2&t=633197716520222500" type="text/javascript">script 2. Is it possible to make one generic Regex that can efficiently move all other random SCRIPT blocks to the bottom of the page, ie. stuff used by modules like ActiveForums? 3. In the book he mentions that you can't move scripts to the bottom that contain 'Document.write' (as if you are writing in a specific place in the HTML obviously you'd like that script to do its thing in that place), but shortly afterwards cryptically mentions that theres 'ways around this'.. I wonder what could be done? 4. There is no mention of exactly where 'at the bottom of the page' to move the scripts? Before the ? Inside the last table? What is the standard for script positions? As always im happy to guinea pig any solutions.  |