Skip to content

feat: clear get_mfes cache before adding custom mfes

Kaustav Banerjee requested to merge kaustav/disable_tutor_mfe_cache into main

Description

The tutor-MFE plugin recently started caching the MFE_APPS hook.

This resulted in the custom MFEs that we add/update through this plugin not getting applied because we modify the MFE_APPS hook only after the project root is ready, but the caching occurs before this event.

To resolve this, we are now clearing the cache when modfying the MFE_APPS hook, so that these modifications gets added to the cache.

Additional context

BB-8437

Edited by Kaustav Banerjee

Merge request reports