I'm working with Yii framework and using smarty view render. I have to working with simpleXML_load_file to load simpleXML element and it's can not be cache using data caching with memcache provided by Yii. So I think may be using cache of smarty instead of caching data. Anyone here had caching smarty page i开发者_运维问答n Yii framework give me some advises, thank a lot!
- I see no reason data cache will not work with SimpleXML element.
- You can try using full page cache.
- You can define your own Smarty tags for fragment cache.
精彩评论