Each of my quizzes contain a lot of images and audio. Apart from the expected time to load such assets, the app works great. However, when opening other quizzes the cached assets of the previous quiz keep causing it to crash.
After inspections I found once you leave and then return to course-status page it reloads the cached assets even before selecting the quiz the assets are for, causing the sluggishness and crashes.
I have tried disabling it myself, however to no avail. Please help, everything else is finished, this is the only thing holding me back.
Cheers,
Ben
Here is a video better explaining the crashing issue:
https://youtu.be/IVNK7z9LOVs
Ive tried removing the this.storage.set('lastcourse',data); under the ngOnInit() within course-status.ts but it just makes it worse.
Any tips?
Figured it out!
I just changed the way the getCourseStatus(status:CourseStatus) in status.ts initiates.
Thank you kindly.
This reply has been marked as private.
This reply has been marked as private.
This reply has been marked as private.