Client dependency optimisation - Enable text compression
Just wondering although I have the client dependency enabled and I see the js has been bundled when I run through gtmetrix or google lighthouse tool I get Enable text compression on the Js files. Is there anything I can do??
should axd be added in the ouput caching headers in iis?
Also Yakov with the client dependency is there anyway to make sure that when necessary javascript files are added on they are added on to the bottom rather than the top of the required js.
Client dependency optimisation - Enable text compression
Just wondering although I have the client dependency enabled and I see the js has been bundled when I run through gtmetrix or google lighthouse tool I get Enable text compression on the Js files. Is there anything I can do??
should axd be added in the ouput caching headers in iis?
please check what Dynamic and static compression installed and enabled on IIS
We got gzip installed
Be sure what it aslo enabled, may be it external files?
Hi Yakov Many thanks for coming back to me - how can I check that?
Also Yakov with the client dependency is there anyway to make sure that when necessary javascript files are added on they are added on to the bottom rather than the top of the required js.
So say on my master page I have
and on one of my grid editors I have
I am finding that the /Scripts/footerSliderTwoCol.js is getting added above the jquery causing it not to fire.
The only thing I can think of is to include the master files as normal using
and using Html.RequiresJs("/Scripts/footerSliderTwoCol.js");
everywhere else.
Check what both enabled
You can add priority to your script registration
this script will be first
this will be after
thanks just found that
on the server I cant enable dynamic is greyed out so I dig a little deeper thanks so much for the help
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.