Skip to content
This repository was archived by the owner on May 17, 2026. It is now read-only.
This repository was archived by the owner on May 17, 2026. It is now read-only.

roles的数组里第一个值代表的什么意思? #2

Description

@Tauleos

如题。。
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
我只想缓存一个页面的话。需要怎么配置?
这些配置都有啥作用呢?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions