dashboard patch - issue with large number of files

8 views
Skip to first unread message

Tom Clerckx

unread,
6:43 AM (10 hours ago) 6:43 AM
to py4web
For some projects I have directories with a very large number (order of 30000) of uploaded files.
This causes issues with the _dashboard application, as it loads the directory structure in the browser. Due to the large number of files, it becomes slow and unresponsive.

I made a patch for the _dashboard application that allows one to exclude files and directories from being loaded in the _dashboard.

Excluded files and directories can be specified in a file dashboard_skip.json in the top of the application directory.

Example of a dashboard_skip.json file:
{
    "dirs": [
        "uploads",
        "static/images"
    ],
    "files": [
        "*.md"
    ]
}

2025-11-13-dashboard.patch
Reply all
Reply to author
Forward
0 new messages