Disable Image and Audio Caching

Tagged: , ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #46918

    ben
    Participant

    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

    #47009

    ben
    Participant

    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?

    #47060

    ben
    Participant

    Figured it out!

    I just changed the way the getCourseStatus(status:CourseStatus) in status.ts initiates.

    Thank you kindly.

    #47358

    Harry
    Keymaster
    This reply has been marked as private.
    #47877

    ben
    Participant
    This reply has been marked as private.
    #47932

    ben
    Participant
    This reply has been marked as private.
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.