Defer parsing of JavaScript

Feel free to talk about everything related to our Joomla Products
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Thu Feb 23, 2012 6:50 pm
Hi all,

I've been doing some optimization on my website using Black&White Template. I use google page speed test and often get the warning about "Defer parsing of JavaScript". As i understood i can add an extra attribute to the <script> tag on the header to achieve this (i'm not sure about this). Can anybody help me what's the best way to to this on Gavick templates?

Best,

SH
User avatar
Junior Boarder

teitbite
Fri Feb 24, 2012 5:05 pm
Hi

It's easier to use a plugin which will connect all js files as JFinalizer and so. But if You want to make it manualy simply add the code to /layouts/blocks/head.php
User avatar
Moderator


cron