feat: update cache after remove instead of clear
This commit is contained in:
@ -271,7 +271,7 @@ func (h *Handler) handleDelete(w http.ResponseWriter, r *http.Request) (status i
|
||||
if err := fs.Remove(ctx, reqPath); err != nil {
|
||||
return http.StatusMethodNotAllowed, err
|
||||
}
|
||||
fs.ClearCache(path.Dir(reqPath))
|
||||
//fs.ClearCache(path.Dir(reqPath))
|
||||
return http.StatusNoContent, nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user