You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know right now you are using the kitchen sink which requires all of semantic.min.css - but that is a 400KB file, minified! Yikes!!
I suggest for your theme itself, you get rid of this bloated file - run the CSS through Addy Asmoni's UnCSS https://github.com/addyosmani/grunt-uncss - and use the trimmed version as your main CSS file. Then link to the bloated version on the kitchen sink only - making a note to users that they will need to add this file if they want the full tamale.
400KB is worse than Bootstrap, agghh! :)
I'll probably do this myself (the grunt uncss) - and can upload my file after I do that.
The text was updated successfully, but these errors were encountered:
This is a good spot. I have been thinking about this as well... what is the best way to address this:
Use CDN semantic-ui and live with 400K. Benefit - semantic-ui popularity is increasing and chances of users finding the same css in browser cache has benefits of zero payload. Easiest to implement, as one call for all website pages.
Use a lighter version of CDN semantic-ui based on features. Requires work in figuring out and tracking what features are used on what pages/posts. Cannot be one solution for all pages.
Use grunt-uncss or custom grunt build process. Requires most work as it needs to test for (2) and maintain the grunt build workflow.
Wait for semantic-ui to release a lighter version. Lazy option (smiles).
Open to comments from other users of Semantic UI and/or opentheme.
I know right now you are using the kitchen sink which requires all of semantic.min.css - but that is a 400KB file, minified! Yikes!!
I suggest for your theme itself, you get rid of this bloated file - run the CSS through Addy Asmoni's UnCSS https://github.com/addyosmani/grunt-uncss - and use the trimmed version as your main CSS file. Then link to the bloated version on the kitchen sink only - making a note to users that they will need to add this file if they want the full tamale.
400KB is worse than Bootstrap, agghh! :)
I'll probably do this myself (the grunt uncss) - and can upload my file after I do that.
The text was updated successfully, but these errors were encountered: