In my Moodle course, I am embedding a Bunny.net video with a protection that contains expiration check with a secure token included in the URL of the video. That token needs to be recalculated every time video is open.
I wrote a custom Moodle filter that calculates this secure token and embeds an iframe that loads external video from Bunny.net with URL including this token.
It works fine on web, but on mobile there is an issue that video is working fine only on first opening. After the token expiration period is over (6 hours), the video stops working.
The issue is probably in the fact that Moodle mobile app caches the content of the course page. I need to have this page to be opened fresh, without caching and offline downloading.
When I delete the offline content for this video page in Moodle mobile app, video works fine again until expiration period is over.
So my question, is there a way to stop Moodle mobile app to cache / download for offline a certain page or entire course?