CyberAP
Well-known member
It struck me hard when I found out that Designer mode outputs all the changed templates, but still uses css.php to serve CSS code. Since all modern browsers support LESS for development (at least with js plugin) I see no reason using plain compiled CSS when designer mode is enabled. That would require 2 changes to the system:
This suggestion focuses primarily on designer mode, which is limited to 1 style. And the linked one is for any style, even without designer mode and debug enabled.
- Designer mode always writes down all the templates, including unmodified ones (we could separate modified files with a star at the end of filename, since the system knows what's changed and what's not that should be possible in theory).
- css.php is replaced by direct .less template calls, which mirror the css.php functionality. So instead of 2 calls for core css and page css you get about ≈20 less calls. This is absolutely useless in production, but a huge improvement for development.
This suggestion focuses primarily on designer mode, which is limited to 1 style. And the linked one is for any style, even without designer mode and debug enabled.
Last edited:
Upvote
0