// regenerate the catalog for a board func (self *LazyCacheController) regenerateCatalog(board string) { key := util.GetFilenameForCatalog(self.webroot_dir, board) self.c.Cache(key, self.regen.GenerateCatalog(board)) }
func (self *LazyCacheController) invalidateCatalog(group string) { key := util.GetFilenameForCatalog(self.webroot_dir, group) self.c.DeleteCache(key) }