Methods for caching PHP objects to file?

后端 未结 8 961
时光取名叫无心
时光取名叫无心 2020-12-24 12:42

In ASPNET, I grew to love the Application and Cache stores. They\'re awesome. For the uninitiated, you can just throw your data-logic objects into them, and hey-presto, you

8条回答
  •  离开以前
    2020-12-24 13:15

    If you have access to the Database Query Cache (ie. MySQL) you could go with serializing your objects and storing them in the DB. The database will take care of holding the query results in memory so that should be pretty fast.

提交回复
热议问题