We cut our Flask page load times by 60% with one line of codemedium.com 6 pointsshreyans12 years ago4 commentsSaveHideCopy link On HNComments−peterlada12ySeems like this could possibly lead to memory leak? No upper bound on the memory usage?−Walkman12yI'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.−kellros12yWell done!−notastartup12yI added this, hope it improves things.
Comments
Seems like this could possibly lead to memory leak? No upper bound on the memory usage?
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.
Well done!
I added this, hope it improves things.