-
Bug
-
Resolution: Fixed
-
Minor
-
3.4.3, 3.5
-
MOODLE_34_STABLE, MOODLE_35_STABLE
-
MOODLE_34_STABLE, MOODLE_35_STABLE
-
MDL-62801-master -
When templates are rendered in PHP it stores the generated PHP classes in local cache. If the theme revision is bumped from an admin modifying theme settings (e.g. adding custom CSS) then new mustache templates are generated and cached but the older caches are never cleared. This leads to a build up of stale data on disk.
To replicate:
- Log in as admin
- Go to site administration > appearance > themes > Boost
- Click advanced settings
- Add some custom CSS in the Raw CSS field
- Save changes
- View the mustache directory in the local cache directory and see two revision directories