The page is loading, while how can I display unstable views on my page? I think this is probably due to the order of loading various javascript-files, what is the best practice for me, before loading code of my own loading plugins? Is every jQuery / .js-function called after a document? Rd or windows.load?
Thanks
You start the issue on this page To get some good ideas. Quote from running it on your own:
-
Reduce the number of DOM elements on grade D on page 1489 DOM elements are more bytes to download a complex page, and its Meaning also there is a slow DOM access in javascript. Reduce the number of DOM elements on the page to improve performance.
-
Make less HTTP requests on Grade E. This page has 11 external JavaScript scripts. Try to combine them into one. There are 5 external stylesheets in this page, try combining them in one, reducing the number of components on a page reduces the number of HTTP requests required to render the page, resulting in faster Pages load from. Some ways to reduce the number of components include: combine files, combine multiple scripts into a script, combines multiple CSS files into one style sheet, and uses CSS sprites and image maps.
-
When compacting components with GP, the grade F should be sent to 15 plain text components to be compressed ... compression minimizes response times by reducing the size of the HTTP response Jizip is the most popular and effective compression method that is currently available and usually reduces the response size by up to 70%. About 90% of today's internet traffic travels through the browser, which claims to support jizep.
-
There are 61 static components without the end date of a distant future ... the web page is more complex with more script, style sheets, images, and flash Are going on. For the first time on a page, many HTTP requests may be required to load all the components. These components are cacheable using the expiring header, which avoids unnecessary HTTP requests on later page views. Expiring headers are often associated with images, but they can be used and used on all page components, including scripts, style sheets, and flash.
Self 2 cents: You want to hide all the elements until the whole page load. It appears that what you want with the progress bar, but the number of elements and scripts / styles on your page is blocking it. You can load the minimum minimum subset of CSS / JS / HTML to install the progress bar, and then all the other asynchronous javascript can load the elements, only once they are all loaded (A la Gmail ).
Comments
Post a Comment