View Issue Details

IDProjectCategoryView StatusLast Update
3814Composrcorepublic2021-03-17 18:18
ReporterChris Graham Assigned ToChris Graham  
PrioritynormalSeverityfeature 
Status resolvedResolutionfixed 
Summary3814: Theme options specifying which CSS/JS files to merge into 'global'
DescriptionIf 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 InformationDocument the option in tut_performance.
TagsType: Performance
Attach Tags
Time estimation (hours)3
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-06-10 16:46 Chris Graham New Issue
2019-06-10 16:46 Chris Graham Tag Attached: Type: Performance
2021-03-17 18:18 Chris Graham Assigned To => Chris Graham
2021-03-17 18:18 Chris Graham Status Not Assigned => Resolved
2021-03-17 18:18 Chris Graham Resolution open => fixed