Skip to content

[Feature] Can the file browsing and management module be enhanced? #13279

Description

@AtlantisDe

1Panel Version

2.0

Please describe your needs or suggestions for improvements

[Feature] 文件浏览管理这个模块能否加强下,不应该啊这么一个简单接口功能这么拉跨.

  • 文件浏览,文件夹里面文件非常多的时候,这个页面基本打不开,我不知道你们处理逻辑
  • 按照我的视角,应该非常简单 本目录下就枚举文件夹 和 文件 信息
  • 然后 你这里进行分页,用户显示的目标页 你内存级别缓存下,每次就读取目标的的文件夹 文件元素信息给用户展示
  • 感觉这个能处理好的呀,为啥这么拉跨
  • 这里你们会面临一个问题,实时性,实时同步文件问题.针对这种大数量文件级别的,就弹出提示或者重计算枚举也行
  • 我总感觉这点哪怕不用暂时的缓存一样能解决问题.每次就枚举,文件名称和文件夹这个应该是 超级毫秒级响应.
  • 实际展示页面在做一次需要的信息读取就行了.现在太拉跨了.

Please describe the solution you suggest

No response

Additional Information

No response

Metadata

Metadata

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions