Beispiel #1
0
// 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))
}
Beispiel #2
0
func (self *LazyCacheController) invalidateCatalog(group string) {
	key := util.GetFilenameForCatalog(self.webroot_dir, group)
	self.c.DeleteCache(key)
}