Jump to content


Photo
- - - - -

optimization

optimization

  • Please log in to reply
2 replies to this topic

#1 jankowalski

jankowalski

    Advocate

  • Members
  • 353 posts
  • Country: Country Flag

Posted 30 October 2013 - 11:56 AM

Hi , i am working on optimization of my website, and i ve got following hint:

 

  1. The following external CSS files were included after an external JavaScript file in the document head. To ensure CSS files are downloaded in parallel, always include external CSS before external JavaScript.
    1. compiled-css-1382990623.css
    2. style.superfish.css
    3. font-league-gothic.css
    4. font-awesome.css
  2. 4 inline script blocks were found in the head between an external CSS file and another resource. To allow parallel downloading, move the inline script before the external CSS file, or after the next resource.

 

What  can i do about it in framework, how do i modify order in header file?



#2 James B

James B

    Advocate

  • Members

  • 5126 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 30 October 2013 - 08:06 PM

Hi there,

 

If you're adding a script and want it to load after the rest of the page, add it to the footscripts panel in PageLines>site options>custom code>footer scripts. This will be added after the code you've mentioned previously.



#3 jankowalski

jankowalski

    Advocate

  • Members
  • 353 posts
  • Country: Country Flag

Posted 30 October 2013 - 08:11 PM

i m not adding anything, the scripts are from pagelines framework like GOOGLE FONTS.

  1. font-league-gothic.css
  2. font-awesome.css

So i want to reorder them, not to add anything.







Also tagged with one or more of these keywords: optimization