Back

Why my laravel website is pretty slow?


Hello everyone!

I have a website built with Laravel and Bootstrap. The website is loading pretty slow and I think that's because there is too much modal boxes on the homepage.

Any suggestions is appreciated.

Here is the link: link

fwartner replied 2 years ago

Take a look at your Assets like: http://www.stemsos.org/css/creative.css These files are too big.. Maybe you try to minify the JavaScript and Stylesheets.. This should give you a little more speed.

astroanu replied 2 years ago

There's too much stuff on your page. my chrome crashed lol

If you have a lot of modals i suggest loading them only when needed. Use my bootstrap wrapper https://github.com/astroanu/boot-wrap to load modal windows will less code.

Also you might want to make those css and js files smaller. Concatenate and minify, Use elixir or try this http://codebreez.com/using-twitter-bootstrap-with-laravel-elixir-efficiently/

mburakergenc replied 2 years ago

I will minify the files, however on my localhost they just did save me a few seconds. I was thinking on lazy loading the sections. I've found some jquery frameworks that lazyloads images, but they do not lazyload sections.

fwartner said:

Take a look at your Assets like: http://www.stemsos.org/css/creative.css These files are too big.. Maybe you try to minify the JavaScript and Stylesheets.. This should give you a little more speed.>astroanu said:

There's too much stuff on your page. my chrome crashed lol

If you have a lot of modals i suggest loading them only when needed. Use my bootstrap wrapper https://github.com/astroanu/boot-wrap to load modal windows will less code.

Also you might want to make those css and js files smaller. Concatenate and minify, Use elixir or try this http://codebreez.com/using-twitter-bootstrap-with-laravel-elixir-efficiently/

monaye replied 2 years ago

You will need to learn how to use console for this kind of issue.

I think there is issue with some script. It's doing infinity loop.

Here is screenshot. http://cl.ly/image/0y2L1s2G2o0z

thomastkim replied 2 years ago

^I think that's a Chromecast error. https://code.google.com/p/google-cast-sdk/issues/detail?id=309

Google basically, "We are not going to fix this."

Aside from that, I took a quick look and saw that you have 3 head tags. A lot of that code is just repeat as well...like loading google fonts 3 times, or the fancybox stylesheet 3 times, etc. First clean up your code, which could do wonders for your site. Then, it would be easier to figure out how to better the performance of your site.

ashissh200025 replied 2 years ago

Its really very slow. making my chrome hang


Sign in to participate in this thread!


We'd like to thank these amazing companies for supporting us