Improve pre-process template performance
Open
area: content-generation
area: performance
Priority:2
triage:transfer-to-sdk
triaged
User Story
- Dominant language
- No language data
- Stars
- 1.7k
- Forks
- 399
- Avg merge
- 3d 5h
- Merged PRs (30d)
- 39
Description
Most of the files in template content doesn't have any operations but still are being processed each time the template is run.
Suggestion:
- pre-process the template on installing time to detect which files have operations defined and cache them
- those files to be processed each time the template is executed
- the other files will be processed in `copyOnly` mode
Note: since in folder based templates the files may be changed, rescan should be done if the timestamp on the file has changed.
Tasks:
- [ ] https://github.com/dotnet/templating/issues/5788
## Justification
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.