Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefetch and cache images #16

Merged
merged 3 commits into from
Dec 14, 2017
Merged

Conversation

shamenchens
Copy link
Contributor

@shamenchens shamenchens commented Dec 14, 2017

This pr will try to cover following changes:

  • Use Unsplash API to get 15 images every day, images will be prefetched and cached.
  • Cache will invalid on new daily images arrive.
  • Give attribution for image source.
  • Fix preference's bug.

Please note first time loading speed may still slow.

A quick demo: https://www.youtube.com/watch?v=JLV8ahgnxLY
Try it on: https://addons.mozilla.org/en-US/firefox/addon/yuman-prerelease/

Copy link
Member

@dwi2 dwi2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants