开发者

CodeIgniter custom caching

I would like to use the output caching function in CodeIgniter, it is simple & fast enough for my application. But the problem is CodeIgniter will push all cached files (hashed names) into the same folder, that will be a problem in my case where I have to cache about 150.000 static pages.

That huge number of the cached files does obviously slows down the process for each request. In my case, I can separate these static pages into multiple categories, so I am thinking of if I can handle CodeIgniter cache to work over the multiple cache folders, it would speed up the process.

Can a开发者_Python百科nyone help me with any suggustion?

Thanks and regards, Leo


If you really want to separate your cache files into subfolders, MP_Cache (http://hg.mijnpraktijk.com/mp_cache/overview) might help you. But be warned that MP_Cache is no longer maintained by the author.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜