How to cache the images?
phoue opened this issue · comments
Hi, awesome job!
With the ground:db, text messages works perfect, but image messages can't cache, any good suggestions?
Currently, I can not suggest anything. But as images are uploaded to Google Cloud Storage I have set this in slingshot settings:
cacheControl: 'public, max-age=315360000'
So it acts like normal browser cache.
@torayeff Thanks. Today, I find https://github.com/nate-strauser/meteor-offline-mobile-files-demo , and run the demo on android, it seems to be a solutions.
@phoue please let me know about your success then