Magento - 块缓存
在我的 header.phtml 中,我有一些代码在导航菜单中列出了产品。菜单中的项目实际上是对 Mage:: 的调用,
看看我的页面速度,这似乎会减慢页面加载时间。
我查看了 Magento 论坛等,似乎我可以缓存这些对我的标头中调用的 Mage 的调用。
我怎么能这样做呢?
谢谢
In my header.phtml I have some code that lists out products in a navigation menu. The items in the menu are actually calls to Mage::
Looking the speed of my pages, this seems to slow down page load times.
I have looked around the Magento forums etc and it seems that I could possibly cache these calls to Mage that are called in my header.
How could I do this?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
http://www.magentocommerce.com/wiki/5_-_modules_and_development/block_cache_and_html_ouput
编辑:还有一些更多的见解:
https://www.nicksays.co.uk/developers-guide-magento-缓存/
http://www.magentocommerce.com/wiki/5_-_modules_and_development/block_cache_and_html_ouput
EDIT: Some more insight as well:
https://www.nicksays.co.uk/developers-guide-magento-cache/