Hacker News new | ask | show | jobs
by ryantownsend 1406 days ago
You've got a fairly heafty JS file on the critical rendering path (350kb), so one option to help your roundtrips 3 is to preload the other files it uses so it's not dependent on the JS download and executing before they are discovered. See: https://web.dev/preload-critical-assets/
1 comments

Thanks! That JS file is the whole minified application. The application is what knows what needs to be loaded - so I would have to move that logic out into the page. It would help but I am not sure it's worth the cost of maintaining that extra logic, in this case (being indie).