Ver Mensaje Individual
  #1 (permalink)  
Antiguo 05/09/2014, 21:18
Avatar de Albuss
Albuss
 
Fecha de Ingreso: enero-2012
Ubicación: Coruña
Mensajes: 475
Antigüedad: 12 años, 9 meses
Puntos: 30
Pregunta Problema con optimizacion en la pagina, (Segun Audits de chrome)

Buenas!

La herramienta Audits de chrome me devuelve la siguiente advertencia (roja) :

"Optimize the order of styles and scripts (1)
1 inline script block was 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.
"


Yo sigo este orden para el head de mi html :

Código HTML:
Ver original
  1. <!-- CSS -->
  2.    
  3.     <link type="text/css" href="CSS/***.css" rel="stylesheet" media="all">
  4.     <link type="text/css" href="CSS/***.css" rel="stylesheet" media="all">
  5.     <link type="text/css" href="CSS/***.css" rel="stylesheet" media="all">
  6.     <link type="text/css" href="CSS/***.css" rel="stylesheet" media="all">
  7.     <link type="text/css" href="CSS/Frames/***.css" rel="stylesheet" media="all">
  8.     <link type="text/css" href="CSS/Frames/***.css" rel="stylesheet" media="all">
  9.     <link type="text/css" href="CSS/Frames/***.css" rel="stylesheet" media="all">
  10.     <link type="text/css" href="CSS/Frames/***.css" rel="stylesheet" media="all">
  11.  
  12. <!-- Javascript -->
  13.  
  14.     <script src="***.js" language="javascript"></script>
  15.     <script src="DeusExMachinaPossessions/***.js" language="javascript"></script>
  16.     <script src="DeusExMachinaPossessions/**.js" language="javascript"></script>
  17.     <script src="DeusExMachinaPossessions/**.js" language="javascript"></script>
  18.     <script src="DeusExMachinaPossessions/**.js" language="javascript"></script>
  19.     <script src="DeusExMachinaPossessions/**.js" language="javascript"></script>
  20.     <script src="DeusExMachinaPossessions/**.js" language="javascript"></script>
  21.     <script src="DeusExMachinaPossessions/**.js" language="javascript"></script>
  22.     <script src="DeusExMachinaPossessions/**.js" language="javascript"></script>
  23.     <script src="DeusExMachinaPossessions/**.js" language="javascript"></script>
  24.     <script src="DeusExMachinaPossessions/**.js" language="javascript"></script>
  25.     <script src="DeusExMachinaPossessions/**.js" language="javascript"></script>
  26.     <script src="DeusExMachinaPossessions/**.js" language="javascript"></script>
  27.     <script src="DeusExMachinaPossessions/**.js" language="javascript"></script>
  28.     <script src="DeusExMachinaPossessions/**.js" language="javascript"></script>
  29.     <script src="DeusExMachinaPossessions/**.js" language="javascript"></script>
  30.     <script src="DeusExMachinaPossessions/**.js" language="javascript"></script>
  31.    
  32.     <!-- Google See -->
  33.        
  34.     <script>
  35.    
  36.       (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  37.       (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  38.       m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  39.       })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
  40.    
  41.       ga('create', 'UA-36263008-1', 'auto');
  42.       ga('send', 'pageview');
  43.  
  44.     </script>


Como deberia reestructurar mi cabezera? si pongo el script de google antes que el CSS me saltan 8 ADVERTENCIAS en vez de una, por que me dice que deben estar primero los CSS para la descarga en paralelo.