Turn off Javascript Caching When developing in Moodle, Javascript caching can be a real pain as you generally need to purge caches & reload the page to get the javascript to refresh. There’s an easy way to turn it off though: Site Administration > Appearance > AJAX and Javascript Cache Javascript (cachejs) which is set to YES by default. Turn this off. You can also find and update the cachejs entry in the mdl_config table or set it in the config.php file. Just remember to purge your cache to ensure it takes effect.