BigRed
BigRed

Reputation: 79

Is it possible to cache a json file in cocos2d?

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

Answers (1)

Alexander
Alexander

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

Related Questions