Reputation: 537
I am just getting started with APC to cache data and was wondering if I should store the data as an array or serialize the array before storing it?
The goal is to use the least amount of resources possible for both inserting and retrieving the data for display.
Upvotes: 0
Views: 343
Reputation: 160963
No, it is not necessary. Because APC is memory storage, you can even store object without serialize.
Upvotes: 4