...
While developing caching can cause problems when back-end changes aren't immediately reflected on a page. There are several settings we can change to reduce the caching in a development environment.
Code Block |
---|
// Do not enable themedesignermode until you actually need it, site can get very slow. //$CFG->themedesignermode = true; $CFG->langstringcache = false; $CFG->cachejs = false; $CFG->forced_plugin_settings['totara_tui'] = [ 'cache_js' => false, // Disable JS caching of Tui JS 'cache_scss' => false, // Disable JS caching of Tui CSS 'development_mode' => true, // Put Tui into development mode so that you get non-minified source ]; |
...