Results 1 to 5 of 5

Threaded View

  1. #1
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,670
    Plugin Contributions
    1

    Default Prioritize Executable Order of JavaScript , CSS, HTML - Where to look in ZC files?

    In line with Google Page Speed I need to prioritize the execution of JavaScript and CSS so that above the fold content loads first. So I need to know what file(s) in ZC would need to be modified to achieve this. From what I understand searching the subject I should be able to change the loading execution order. My intention would to be to combine all the (already minified) JavaScript and CSS into two files (each) with the file containing the required above the fold files to load first followed by the other.

    Any assistance will be greatly appreciated.

    cheers,
    Mike

    explanation from Google Page Speed test result

    Prioritize visible content
    Your page requires additional network round trips to render the above-the-fold content. For best performance, reduce the amount of HTML needed to render above-the-fold content.
    The entire HTML response was not sufficient to render the above-the-fold content. This usually indicates that additional resources, loaded after HTML parsing, were required to render above-the-fold content. Prioritize visible content that is needed for rendering above-the-fold by including it directly in the HTML response.

    Only about 34% of the final above-the-fold content could be rendered with the full HTML response see screenshot show original.

    screenshot showing only 34% load - most obvious omission is header / logo Attachment 17495
    screenshot showing fully loaded (original) Attachment 17496
    Last edited by shags38; 29 Nov 2017 at 07:12 AM.

 

 

Similar Threads

  1. Don't understand. Where are the HTML files?
    By Kolusion in forum Templates, Stylesheets, Page Layout
    Replies: 16
    Last Post: 31 Aug 2011, 03:13 AM
  2. Product Sort Order - Can I prioritize?
    By Feznizzle in forum Basic Configuration
    Replies: 6
    Last Post: 25 Jun 2010, 08:41 PM
  3. Suture CSS or JavaScript Files Together
    By skipwater in forum General Questions
    Replies: 0
    Last Post: 22 Nov 2008, 06:39 PM
  4. Where should I put my php/javascript files?
    By seifer987 in forum General Questions
    Replies: 5
    Last Post: 10 Nov 2008, 08:10 AM
  5. Where to put css/js files?
    By superprg in forum General Questions
    Replies: 2
    Last Post: 7 Mar 2008, 02:35 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR