Prevent caching from happening in learning mode.