Don't cache a whole repo string in Utils::getRepoStrings() #591
While looking at this api call and seeing how we can make it faster:
I noticed that the page renders much faster and wjth less memory if I disable the cache:
I digged into it and I see that I think I made a conceptual error in the function getRepoStrings()
This function will always return the full included PHP file (
That is true will all views using getRepoStrings() but it is particularily noticeable on the global api one because it needs to load strings for all reporitories so we spend 30% of the page time view in unserialize().
The text was updated successfully, but these errors were encountered: