cache rules, key is [module]/[controller]/[action].
can get paramters in rule:
'index_{page}' // get page paramter from GET 'index_{:module}' // get module value 'index_{:controller}' //get controller value 'index_{:action}' //get action value 'index_{cookie.xxx}' //get value from cookie
我只想缓存一个页面的话。需要怎么配置?
这些配置都有啥作用呢?
如题。。 rules
cache rules, key is [module]/[controller]/[action].
can get paramters in rule:
'index_{page}' // get page paramter from GET 'index_{:module}' // get module value 'index_{:controller}' //get controller value 'index_{:action}' //get action value 'index_{cookie.xxx}' //get value from cookie
我只想缓存一个页面的话。需要怎么配置? 这些配置都有啥作用呢?