abartov / bybeconv

Project Ben-Yehuda's content management system.
https://benyehuda.org/
Other
10 stars 5 forks source link

optimised welcome page load time #334

Closed damisul closed 2 months ago

damisul commented 2 months ago

On my machine welcome page loading time reduced from ~9 seconds to ~3 seconds. Also I've updated surprise author fetching, and used same logic as in authors#get_random_author, so authors without published works will not be fetched.