-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How Can I Manual clear page cache? #19
Comments
Config set DisableCache: true gv := goview.New(goview.Config{
//...
DisableCache: true,
}) |
This config is not I wanted,If I set DisableCache:true , all page cache is invalid.
if !ok || e.config.DisableCache {
tplList := make([]string, 0)
if useMaster {
//render()
if e.config.Master != "" {
tplList = append(tplList, e.config.Master)
}
}I just want to refresh one page.
…------------------ 原始邮件 ------------------
发件人: "foolin/goview" <[email protected]>;
发送时间: 2020年10月23日(星期五) 下午3:57
收件人: "foolin/goview"<[email protected]>;
抄送: "@"小万"^^$"<[email protected]>;"Author"<[email protected]>;
主题: Re: [foolin/goview] How Can I Manual clear page cache? (#19)
Config set DisableCache: true
gv := goview.New(goview.Config{ //... DisableCache: true, })
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
can you support one interface to remove cache template ? use this interface I can dynamic reload one page even if i use DisableCache: false waiting for your good ideas. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
1、my page was dynanic changed , I need to clear tplMap cache. Is there a good way for me to solve this problem?
The text was updated successfully, but these errors were encountered: