1.在自己的 module 中定义:

<global><cache><types><first translate="label,description" module="first"><label>MyCache Requests</label><description>MyCache Requests</description><tags>MYCHE_CACHE</tags></first></types></cache></global>

magento cache types:

Configuration
When you enable this type, you work with all the modules or custom configuration that are saved in your database.Layouts
Layout in Magento is set of XML tags, that collects the page from all the blocks.Blocks
Generally HTML output every Magento block when you load a webpage. This cache type includedlogic that helps to collect all the blocks together without conflict between them.EAV types and attributes
EAV (entity-attribute-value model) requires configuration to be loaded from database. For example,
you want to add one attribute to your customer - his shoe size, EAV allows not to overload the grid values​​for all users (default value is  0), but it loads only one value for a custom client.Translations
Default module or theme can have it’s own translation file,
we cache it to avoid wasting time on recompilation.Collections Data
If you enable this type of cache, all the objects in Magento can be cached according to specific
id logic for each collection. (In few words - you can enable or
disable caching for custom Magento collection).Web Services Configuration api
Web Services API Is a software interface that controls a
web-service - your server. You can cache configurations
for your services to make loading faster.

2.Flat Catalog Data and Flat Product Data

Category page:

Product View pages.


3.Merge CSS and Merge JS


http://blog.belvg.com/using-default-magento-cache.html

http://www.rockettheme.com/docs/magento/basic/cache.md

62. Using Default Magento Cache相关推荐

  1. OCP12C题库,62数据库备份与恢复(admin,install and upgrade accelerated, backup and recovery workshop -62)(新增)

    题数:20+53 10月新增 5 examine the details of the uncompressed,non-partitioned heap table cities. 检查未压缩.未分 ...

  2. Magento教程 6:商店设定与参数

    设定你的Magento 在第一.二阶段,我们已经把Magento完整的架设起来,接下来要开始进入Magento系统设定商店的系统参数. 设定网页路径改写 刚设定完成的Magento系统,在产品与其他页 ...

  3. [转]Magento 2 and 1 Million Products

    本文转自:https://www.goivvy.com/blog/magento-2-1-million-products Can Magento 2 handle 1 million product ...

  4. Magento开发文档(四)Magento 布局、块 、模板

    刚入门magento的开发者容易吧布局和视图给混淆. 本文将看看Magento的Layout/Block的做法, 并告诉您如何将其融入Magento的MVC的世界观. 与许多流行的MVC系统相比,Ma ...

  5. magento 安装

    源码下载 composer 安装,这种安装可能会比较慢,看你网络 composer create-project –repository-url=https://repo.magento.com/ m ...

  6. [转]Magento on Steroids – Best practice for highest performance

    本文转自:https://www.mgt-commerce.com/blog/magento-on-steroids-best-practice-for-highest-performance/ Th ...

  7. Django Cache缓存系统介绍及Memcached使用

    在动态网站中,用户每次请求一个页面,服务器都会执行以下操作:查询数据库,渲染模板,执行业务逻辑,最后生成用户可查看的页面. 这会消耗大量的资源,当访问用户量非常大时,就要考虑这个问题了. 缓存就是为了 ...

  8. Go实战--也许最快的Go语言Web框架kataras/iris初识二(TOML、Cache、Cookie)

    生命不止,继续 go go go!!! 昨天介绍了iris框架,介绍了如何使用basic认证.Markdown.YAML.Json等:  Go实战–也许最快的Go语言Web框架kataras/iris ...

  9. Magento教程 11:Inline Translation前台改文

    继上次介绍过如何在Magento后台编辑文字后,这次要和大家分享另一种更改文字的方法, 在Magento里面称作Inline Translation,也就是直接于网页修改文字! 也许大家会有疑问,既然 ...

  10. Magento 自定义后台menu Insert dynamical menu in Magento’s Admin

    方法 1.  外联 Hello everyone! I've recently got frustrated with Magento's core functionality which requi ...

最新文章

  1. python strptime_Python法律实务应用——制作自己的LPR计算器(上)
  2. JSTL 格式化 BigDecimal对象
  3. java condition_死磕Java并发:J.U.C之Condition
  4. 如何使用eclipse软件创建一个Java项目?
  5. qt 中使用openssl_openSSL漏洞致使SSL证书安全配置评级F
  6. 记一次“Shiro+任务调度”开发过程中出现UnavailableSecurityManagerException解决思路
  7. 解决 python中 使用tesserocr,File tesserocr.pyx, line 2401, in tesserocr._tesserocr.image_to_text 报错问题...
  8. 前端学习 第二弹: JavaScript中的一些函数与对象(1)
  9. [转载] 中华典故故事(孙刚)——01 天要下雨_娘要嫁人
  10. iphone多线程事件循环
  11. MySQL的用户授权
  12. 计算机内部用机内码而不是国际码,在计算机内部用机内码而不用国标码表示汉字的原因是()。...
  13. 多层线性模型和面板数据模型笔记(待完善,持续更)
  14. Python代码加密方案总结(巨全面和详细)
  15. linux下TF卡测试寿命的测试程序编写
  16. web前端网页制作 小组作业(制作一个简单的小网页)
  17. 基于RiskPariyBlackLitterman的因子择时
  18. 一招彻底解决win10开机桌面及任务栏卡死问题
  19. 《JAVA: 学习导图》
  20. 学计算机这么课最大的收获是啥,计算机课程学习心得范文

热门文章

  1. PHP伪造referer突破网盘禁止外链(附115源码)
  2. 大数据学习总结(4)参考splunk架构
  3. Hive:动静态分区
  4. Xcode 运行程序,左侧memory 不显示内存
  5. Java的switch是否支持String作为参数,还支持哪些类型?
  6. 关于rstudio的一些快捷键
  7. 用data.table语句批量处理变量
  8. BNUOJ 34978 汉诺塔 (概率dp)
  9. Python全栈开发记录_第六篇(生成器和迭代器)
  10. Android ANR原因以及开发时如何预防