Local JS AMD plugin only works with disabled cache

Re: Local JS AMD plugin only works with disabled cache

by Justin Hunt -
Number of replies: 0
Picture of Particularly helpful Moodlers Picture of Plugin developers
There were changes in Moodle 3.8 to the way Moodle compiles and serves js. Some 3rd party plugins that defined AMD modules a particular way that had worked up until 3.8 broke. The problem is avoided when not caching because first.js ( a big fat aggregation of all plugins js) is not involved. Its the aggregating of those poorly defined JS modules that causes the issue.

This tracker issue covers it:
https://tracker.moodle.org/browse/MDL-67327
Average of ratings: Useful (1)