Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • whats-open-ios whats-open-ios
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 6
    • Issues 6
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • SRCT
  • whats-open-ioswhats-open-ios
  • Issues
  • #38

Closed
Open
Created Jan 22, 2018 by Zach Knox@zknoxOwner

Add image caching from the CDN

Summary

When we want to show logos or other images to the user, ideally we wouldn't be downloading the same image every time they reload the app (once every 12 hours) because @dhaynes3's AWS bill would skyrocket. We should instead download a copy of the XML manifest listing from the main page, download images that are needed, and store them in a Realm model.

We should then check, on update, whether the image information (notably last updated) matches what we have locally, and if so, display that instead of downloading a new image. If we do need to download an image, we should put it into that cache for later.

Finally, we need a "clear cache" button in Settings in case something gets messed up with the cache.

Assignee
Assign to
Time tracking