JCH outputs the combined and compressed CSS file as:
/media/plg_jchoptimize/assets/gz/1/0/21258391ff538dceaca26d18cb55cb1b.css
Since this is a randomly generated link every time JCH refreshes the file, is there a way to retrieve the URL programmatically?
I am thinking something like this URL would allow me to reference the CSS file from outside the Joomla! environment (this is just for reference as I realize it would never work as written):
/index.php?option=plg_jchoptimize&view=css
The CSS reference is redirected to a PHP file:
/media/plg_jchoptimize/assets/jscss.php
The contents of that file are:
require_once dirname(dirname(dirname(dirname(__FILE__)))) . '/plugins/system/jch_optimize/bootstrap.php';
loadJchOptimizeClass('JchOptimizeOutput');
JchOptimizeOutput::getCombinedFile();