Skip to content
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

Open
wzhsh90 opened this issue Oct 23, 2020 · 3 comments
Open

How Can I Manual clear page cache? #19

wzhsh90 opened this issue Oct 23, 2020 · 3 comments

Comments

@wzhsh90
Copy link

wzhsh90 commented Oct 23, 2020

1、my page was dynanic changed , I need to clear tplMap cache. Is there a good way for me to solve this problem?

@foolin
Copy link
Owner

foolin commented Oct 23, 2020

Config set DisableCache: true

gv := goview.New(goview.Config{
       //...
        DisableCache: true,
    })

@wzhsh90
Copy link
Author

wzhsh90 commented Oct 23, 2020 via email

@wzhsh90
Copy link
Author

wzhsh90 commented Mar 16, 2021

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants