Reputation: 79
I have a project in that I need to cashe .json files. It's Performance will rely on it.
Is there any way possible to cache a .json file in cocos2d 2.0 ?
Upvotes: 0
Views: 86
Reputation: 8147
Yes, keep it in the memory (in an adequate data structure) or save it to a file & load it on demand.
Upvotes: 1