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 | 2529 | 2016 年11 月 21 日 | |
| How do you force a script to refire on every page load in Discourse? | 38 | 21532 | 2020 年3 月 12 日 | |
| How to get around DOMContentLoaded for navigation? | 14 | 632 | 2025 年2 月 21 日 | |
| Feedback on "on-discourse" javascript for setting up custom JS for each page? | 15 | 1381 | 2023 年11 月 19 日 | |
| Executing js after DOM loaded | 6 | 3816 | 2018 年11 月 30 日 |