Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
We cut our Flask page load times by 60% with one line of code
(opens in new tab)
(medium.com)
6 points
shreyans
11y ago
4 comments
Save
Share
4 comments
4 comments · 3 top-level
top
newest
oldest
peterlada
11y ago
· 1 in thread
Seems like this could possibly lead to memory leak? No upper bound on the memory usage?
Walkman
11y ago
I'm not familiar with Jinja caching but I think it only caches the number of templates you got, so it grows to a fixed size.
kellros
11y ago
Well done!
notastartup
11y ago
I added this, hope it improves things.
j
/
k
navigate · click thread line to collapse