Speeding up CakePHP

后端 未结 7 1604
忘了有多久
忘了有多久 2020-12-12 13:29

I\'ve been a keen fan and user of CakePHP for about 2.5 years now, but the main bugbear that most fellow developers level at the framework is that it\'s slow, and the dispat

相关标签:
7条回答
  • 2020-12-12 14:22

    We use Memcache for static data which comes from database like banners, aboutus, address and many more contain. We delete cache file when data get insert, update or delete. At time of query we first check for file, if it is there then take data from json file no need to query to database otherwise query and create new file. So next time data will be taken from Json.

    0 讨论(0)
提交回复
热议问题