- March 19, 2020 at 6:24 pm #46918
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.
BenMarch 20, 2020 at 7:02 am #47009
Here is a video better explaining the crashing issue:
Ive tried removing the this.storage.set(‘lastcourse’,data); under the ngOnInit() within course-status.ts but it just makes it worse.
Any tips?March 20, 2020 at 1:17 pm #47060
Figured it out!
I just changed the way the getCourseStatus(status:CourseStatus) in status.ts initiates.
Thank you kindly.
- You must be logged in to reply to this topic.