It should be nearly identical, both get preprocessed and minimized. The advantage the CSS/HTML has is you won’t have to do a container rebuild to pull in changes (or use the /admin/upgrade path), you can simply modify it within the Admin UI and save it to enable it (it may require a hard refresh of the browser though).
cpradio
(cpradio)
9
الموضوعات ذات الصلة
| الموضوع | الردود | مرات العرض | النشاط | |
|---|---|---|---|---|
| My plugin codes runs just once!(My own script shouldn't be cached) | 17 | 2530 | 21 نوفمبر 2016 | |
| How do you force a script to refire on every page load in Discourse? | 38 | 21534 | 12 مارس 2020 | |
| How to get around DOMContentLoaded for navigation? | 14 | 632 | 21 فبراير 2025 | |
| Feedback on "on-discourse" javascript for setting up custom JS for each page? | 15 | 1382 | 19 نوفمبر 2023 | |
| Executing js after DOM loaded | 6 | 3816 | 30 نوفمبر 2018 |