-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
Description
Description
The PyPI PackageMetadata endpoint recreates a template renderer on every call:
gitea/routers/api/packages/pypi/pypi.go
Line 61 in 9d9bf66
ctx.Render = templates.HTMLRenderer() |
This involves reading and parsing templates for all possible templates.
The templates should be being shared.
Gitea Version
1.17+
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
N/A
Database
No response