缓存 smarty 视图渲染
我正在使用 Yii 框架并使用 smarty 视图渲染。我必须使用 simpleXML_load_file 来加载 simpleXML 元素,并且无法使用 Yii 提供的 memcache 的数据缓存来缓存它。所以我认为可能是使用 smarty 的缓存而不是缓存数据。这里有人在 Yii 框架中缓存 smarty 页面给我一些建议,非常感谢!
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 in Yii framework give me some advises, thank a lot!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)