You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The clear_caching function lumps the Jump Menu clearing in with the all option. For backwards compatibly, if an add-on needs to clear the Jump Menu cache, it has to call ee()->functions->clear_caching('all');, which may nuke too much of the cache. To make it compatible with EE 5 and 6, and give add-ons the option of clearing just the Jump Menu cache, what if the following change is made?
This would make it so an add-on could call ee()->functions->clear_caching('jumpmenu'); and in EE 5, nothing happens, but in EE 6, just the jumpmenu cache folder is deleted.
The text was updated successfully, but these errors were encountered:
The
clear_caching
function lumps the Jump Menu clearing in with theall
option. For backwards compatibly, if an add-on needs to clear the Jump Menu cache, it has to callee()->functions->clear_caching('all');
, which may nuke too much of the cache. To make it compatible with EE 5 and 6, and give add-ons the option of clearing just the Jump Menu cache, what if the following change is made?This would make it so an add-on could call
ee()->functions->clear_caching('jumpmenu');
and in EE 5, nothing happens, but in EE 6, just thejumpmenu
cache folder is deleted.The text was updated successfully, but these errors were encountered: