func PathOfKey(category, key string) string { md5 := toolkit.MakeMd5Str([]byte(key)) return toolkit.PathJoin( category, md5[0:2], md5, ) }
func (this *FileCache) FullPath(category, key string) string { return toolkit.PathJoin( this.path, PathOfKey(category, key), ) }