Closed trongthanh closed 8 years ago
The mechanism is changed a little bit for simpler implementation: after last check time one hour, the first new tab open will trigger the image fetching and cache using off-canvas image loading, but ime background won't show in this new tab. User will see new background when opening the next tab.
Intention:
When the app start off, use the default background (it is beautiful enough). Meanwhile, the app fetch an Unsplash image from the background (using off stage img for e.g) and let it cache.
After next hour, the cached image is used as background and new Unplash image is fetch again.
This way, the app will display background images instantly just like momentum.