authgear / authgear/authgear-server
Optimize template rendering
Open
cooldown/enhancement
- Dominant language
- Go
- Stars
- 2k
- Forks
- 125
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 32
Description
Right now we use the `template` directive to render translation. This approach requires us to parse all translation in advance, even if only few translations are actually used.
We can borrow the idea from helm to introduce `include`
Contributor guide
Research direction
Start by locating the Go code that handles the `template` directive and translation rendering, then study Helm's `include` approach for comparison. Done means translations are not all parsed in advance and only translations actually used by rendering are processed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, helm
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100