Saturday, March 17, 2018

Laravel app.js taking 14 sec to load on Laravel Forge - development

Laravel app.js taking 14 sec to load on Laravel Forge

I am using Laravel Forge and Vultr for the server config and hosting.

When loading the app.js file for the first time which has been run through Laravel Mix (npm run production) coming out at 378kb it takes 7.26 sec for Time To First Byte and 14.22 sec for content download. That is using my fibre connection of 100mb/s and my 4G wireless connection.

When loading assets from external resources of similar size they load in milliseconds from the same site.

Is there something in the server config throttling the download or causing it to take so long?



from Laravel Questions and Answers https://laravelquestions.com/php/laravel-app-js-taking-14-sec-to-load-on-laravel-forge/
via Lzo Media

No comments:

Post a Comment