? orus casino? bodog? ruleta? luckia? betano? sportium? spin casino? stakes? 3 reyes? 888? lottoland? coolbet? 777 casino? gana777? betfair? bwin? yak casino? ivy casino? oddschecker? red casino? netbet? william hill? vip casino? rey casino? marathonbet? dafabet? sol casino? 1bet? winland? bet777? parimatch? 18bet? 888casino? campobet? mostbet? ganabet? rushbet? betcris? betsson? lucky? novibet? winner? winpot? betmaster? betmexico? cancun? playcity? strendus? pokerstars? codere? caliente? fun88? bbrbet? 1win? 10bet? betway? pin up? spinbet? 7cslot? pickwin? spin bet? mr fortune? w88? pragmatic? gamdom? crasher? jojobet? betmex? bcasino? foliatti? winner mx? bets 10? big bola? bet master? inbet? 7slots? lucky day? m777? mexplay? luckydays? bet caliente? 1x? plinko

Forum


HomeHomePremiumPremiumAdministrationAdministrationMinify and Composite JS/CSS filesMinify and Composite JS/CSS files
Previous
 
Next
New Post
9/23/2019 3:03 AM
 

Hi Aderson,

So finally I tried enabling js and css minification and composite files.

I got errors javascript errors on page load so disabled them again.

I was trying to think how it would work.

I use ClientResourceManager.RegisterScript & ClientResourceManager.RegisterStyleSheet, so at the point I enable the above options DNN knows nothing about the files my app requires. This can only happen on page load so is there any possibility that a single minified file is created at that point? It doesn't seem so as I received errors but I would be happy to test this out a bit more if you think it should in fact work.

The errors of course mean I can't even have the standard js and css files minified.

Best Regards,

Steve

 

 
New Post
9/23/2019 9:21 AM
 

Hi Steve,

DNN should somehow be aware of your files as you are using ClientResourceManager.RegisterScript & ClientResourceManager.RegisterStyleSheet - That might be my wrong assumptions, but that is my understanding.

I don't have experience building a module using these though. So it either doens't work like this or we are doing something else wrong.

Aderson

 
New Post
9/23/2019 9:45 AM
 

Hi Aderson,

I didn't test it very thoroughly as it was my live site.

I will try it on the installation on my local machine and try a few refreshes to see if it corrects itself.

I wish I knew how to see what's going on. 

The errors I got indicated that js files from my app were missing.

Steve

 
Previous
 
Next
HomeHomePremiumPremiumAdministrationAdministrationMinify and Composite JS/CSS filesMinify and Composite JS/CSS files



Try FREE
30 days money back guaranteed