Back to Pull RequestsView on GitHub
#5874Open
Simple Review
refactor(router-core): interpolatePath can cache the parsed path template
by Sheraff•Nov 15, 2025
Summary
This pull request optimizes the `interpolatePath` function by introducing caching for parsed path templates. This aims to improve performance by avoiding redundant parsing when the same path is interpolated multiple times, especially in frequently used routing functions.
Changes
+58 additions-25 deletions
Impact Areas
PerformanceRouting Core