more cache issues
This commit is contained in:
@@ -194,8 +194,7 @@ func httpPostFile(ctx context.Context, rw http.ResponseWriter, r *http.Request)
|
||||
}
|
||||
|
||||
loader := ctx.Value("loader").(*loader.Loader)
|
||||
loader.InvalidateCacheForFile(ctx, *id)
|
||||
loader.InvalidateCacheForDir(ctx, *id.Parent())
|
||||
loader.InvalidedCacheForId(ctx, *id)
|
||||
|
||||
rw.WriteHeader(http.StatusCreated)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user