View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0003814||Composr||core||public||2019-06-10 16:46||2019-06-10 16:46|
|Reporter||Chris Graham||Assigned To|
|Fixed in Version|
|Summary||0003814: Theme options specifying which CSS/JS files to merge into 'global'|
|Description||If CSS/JS files are consistently used together, they can be merged.|
Previously we tried to automatically detect what CSS/JS files were used on the home page. However, it was over-complex and unstable when caching is involved, making it very difficult to debug and making the code horrible.
A better approach is just to make it configurable. We can then have something in global.css and global.js to append extra files, as defined by the configuration - and then make require_css/require_js smart enough to not actually include files that will be included into the global one anyway.
|Additional Information||Document the option in tut_performance.|
|Time estimation (hours)||3|