Skip to content

[Improvement] Improve WebUI's performance & unify isolation action implementation #20

Description

@chtholly255

After updating to v1.3, I found that it takes an extremely long time to load WebUI when there are many rules (200+).
With LLM's help, I reviewed the WebUI's source and found that everytime when WebUI is opened, it will clear all existing rules and reapply them, which is unnecessary because service.sh has already done this. By the way, I found that all isolation actions (calling iptables etc.) in WebUI are separated from shell scripts. I think moving them to shell scripts and letting WebUI only read and write configurations may be better.

I'm not a JavaScript programmer. If I make any error, please point it out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions