mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #333] dashboard suggestions: gzip and API CORS (v0.10.0) #246
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#246
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @undirectlookable on GitHub (May 24, 2017).
Original GitHub issue: https://github.com/fatedier/frp/issues/333
0.10.0 版的新 dashboard 比前一版有很大进步,但 js 打包的 bundle 体积太大,一共 1.3MB,这在很多国内云服务器的 1M 小水管上需要十几秒才能打开。
建议 dashboard 内置服务器开启 gzip,体积至少可减少一半以上。
另外,像 /api/proxy/tcp 这些 API 的返回 Header,如果加上 CORS,则可以实现第三方 dashboard,类似于 aria2c.com 与 aria2 json-rpc 的配合形式。这可以激发大家写自己的 dashboard,或者把 frp 集成到现有的后台系统中去。
@fatedier commented on GitHub (May 25, 2017):