I need to add a third party js and CSS to my template head.
I'm getting Leverage browser caching and someone advised me to load the files locally.
created a directory in root: assets/third-party/ and setup a cron job that get the files from their site and store them in that directory.
What is the best way to add them to the head in Joomla 3.x? I've tried these ones
<?php JHtml::script(Juri::base() . 'assets/third-party/float.js');?> <link href="<?php echo JURI::base(); ?>assets/third-party/float.css" rel="stylesheet" />
thanks in advance