Thursday, August 1, 2013

Re: Cakephp + Defer loading of js / async


<?php echo $this->Html->script('/js/flash.js', array('inline' => true,'async'=>'')); ?>

<script type="text/javascript" src="/js/flash.js" async=""></script>

Eric Haskins
High Octane Brands LLC

On Thursday, August 1, 2013 8:27:09 AM UTC-4, Jermain Kaminski wrote:
Dear Community,

does anyone know how to apply async script load like described here to the cakephp $this->Html->script helper?

Thanks!

J

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments: