Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Why dnn.jquery.js does not come in a minified version?Why dnn.jquery.js does not come in a minified version?
Previous
 
Next
New Post
2/23/2017 8:56 PM
 

I'm using DNN 9.  I see that  dnn.jquery.js under /Resources/Shared/scripts is about 170KB in file size.  So my question to the veterans of DNN, is if it is ok for us to minify this javascript file down so that it isn't so large, or will that cause issues in various parts of DNN?

 

 
New Post
3/19/2017 5:09 AM
 

In the Host settings -> Advanced Settings -> Client Resource Management section you will find a set of options, if you enable composite files and tick the minify options, javascript files will be merged and minified by the system so you not just save on the transfer size but also on the quantity of transfers.

Two little things to know about this feature:

  1. When making changes during developement, if you don't see things as they should show, you need to go back there and click the Increment Version button to recreate the minified composite files.
  2. I am almost sure the composite files are not used if the application is in debug mode.
 
New Post
12/27/2018 8:36 PM
 
That is true debug must be set to false in order for the Client Dependency Framework to kick in.


nvisionative, Inc.
Corporate Website  |  Facebook Page  |  Twitter Page
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Why dnn.jquery.js does not come in a minified version?Why dnn.jquery.js does not come in a minified version?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out