Caching a PHP Array

前端 未结 3 982
轻奢々
轻奢々 2020-12-30 07:01

My problem is im creating a large nested PHP array which is parsing information from multiple external sources.

On the first return I would like to cache this data.

3条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-30 07:17

    If you use Smarty template engine, it exists a plugin for v3.1 that enable APC (Alternate PHP Cache) as an op-code cache, you also have a built-in memory storage area for lightning fast access to data.

    Available here : https://www.smarty.net/forums/viewtopic.php?p=86501&sid=efc098e0cfb090a94e8c0d362c609263#86501

提交回复
热议问题