Friday, March 10, 2017

Laravel css and JS resources loading twice per page load ?

I am running into some strange issue where per page load multiple css/js resources are loading twice. Cache is cleared. not sure what is going on? happening on my dev environment and live environment.

When you view the source of the page obviously they are only on their once - however the network tab is showing them load over and over and with the app.js file being a monster it causes latency issues obviously.

enter image description here

anyone else run into this issue or know what could be causing this?

Cheers

Citti



via Citti

Advertisement