-
Sub-task
-
Resolution: Won't Fix
-
Major
-
None
-
2.7
-
MOODLE_27_STABLE
-
MDL-44453-master -
-
FRONTEND Sprint 11
When themedesignermode is enabled and the theme is using a LESS file, the compilation takes a very long time (about 10s). We should try to set up some cache to only compile whenever necessary.
Ways to solve that:
- Look into the caching built-in less.php
- Extend less.php to implement our own caching
- Hash the CSS/LESS files and the dynamic content (callbacks) and check if it has changed, if not return the previous result.
- ...
PS: I lost the issue I thought I had raised, so re-raising this.
- is blocked by
-
MDL-44357 Compile LESS from PHP
- Closed