Added gocache as a cache wrapper.

This commit is contained in:
mikestefanello 2021-12-06 14:53:28 -05:00
parent 70d9d0f8fa
commit 3a45695083
9 changed files with 212 additions and 29 deletions

View file

@ -14,6 +14,8 @@ func (a *About) Get(c echo.Context) error {
p.Name = "about"
p.Title = "About"
p.Data = "This is the about page"
p.Cache.Enabled = true
p.Cache.Tags = []string{"page_about", "page:list"}
return a.RenderPage(c, p)
}