pyro2927 / GoogleDocsBackend

Use a Google Docs Spreadsheet in a style similar to Parse
GNU General Public License v2.0
20 stars 5 forks source link

Offline caching behaviour #2

Open fatuhoku opened 9 years ago

fatuhoku commented 9 years ago

Hi @pyro2927,

Wow — my application has a lot of static data that I want to manage from something like Google Sheets so thanks for putting this together. I realised this solution was better than Parse because Local Data Store has some major performance issues on older devices when fetching thousands of rows.

I want the spreadsheet data to be accessible even when the device is offline. Is there an easy way to achieve this through Mantle's caching capabilities, or is it better to handle this manually?

pyro2927 commented 9 years ago

I've never attempted to cache objects through Mantle. I'd assume that doing it through Mantle would work. Do you know of any code examples that do so already?

fatuhoku commented 9 years ago

@pyro2927 no I don't! Haha. An alternative is to use AFNetworking's HTTP caching behaviour directly.