• 0

optimization


Question

Posted · Report post

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?

Share this post


Link to post
Share on other sites

2 answers to this question

  • 0

Posted · Report post

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.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now