Dnn 6.1 client resource management module                 Print      Add Favorite     Add Watch     Contact Author

Creator: host   1/1/2012 10:03:08 AM    Author: Ian Robinson   Source: http://www.dotnetnuke.com/Resources/Blogs/EntryId/3243/Client-Resource-Management-Administration-for-DNN-6-1.aspx   Views: 267    0    0  
Tags:
Dnn 6.1 client resource Client Dependency Framework Jquery Performance


Posted by: Ian Robinson
12/6/2011 11:10 AM  

If you’re using DotNetNuke 6.1 or 6.1.1, you’re making use of the new Client Resource Management features that are built into the framework. If you aren’t familiar, please read Enhancements for working with JavaScript and CSS files in DNN 6.1 and also DNN 6.1 JS/CSS File Combination: Potential Gotchas. That should bring you up to speed on the power that you have at your fingertips!

Oops – did I say fingertips? I really meant web.config! Yep, as of right now, to enable and configure the Client Resource Management features, you need to do some web.config magic through the host Configuration Manager.

However, I have created an administrative module that provides a UI for managing these features. Not only does it help you update the settings, it also provides explanations for what each setting does. Click here to download the module installation package (version 01.00.00).

client resource admin

This allows you to change the most important settings:

  • Enable or disable file combination
  • Turn on/off CSS or JS minification (only applicable if composite files are enabled)
  • Turn on/off file persistence (saving composite files to the disk to work across application restarts)
  • Change your URL type from Mapped Id to Base64QueryStrings for compatibility with web farm scenarios.
  • Increment the client resource version, which invalidates the cache

This module is a Host/SuperUser only module, and it will automatically create a page called Client Resource Admin under the Host menu. You can only access it while logged in as a super user. I have tested it with both version 06.01.00 and 06.01.01 and it works to my satisfaction, but please visit the project page and create an issue if you have any troubles or ideas for enhancement.

Additionally, I’ve created a logging provider for the underlying Client Dependency Framework (CDF) that writes any CDF logging events to the DNN event viewer. Click here to download that module install package (v 00.00.02). You won’t see this appear in the UI, but you will know if it’s configured by looking at the Client Resource Admin module. If you have any troubles/questions with the logger, please visit its project page and let me know by creating an issue.


Rating People: 0   Average Rating:     
Comment List:


  No Record 


Post your comment

Your Name: Required
Your Mail: Email is used only to display Gravatar
Your Site:
CAPTCHA image
Enter the code shown above in the box below
Comment Info:         

     DnnModule.com is build to provide quality modules and skins, Some of them are free,some not. We wish these stuffs( free or not ) can be useful to you.

    Besides that, We also provide a full range of professional services, ranging from web site build, seo, system management, administration, support, senior consultancy and security services.   We act as if your development project or network was ours, with care and respect. We are not satisfied until it works the way you want it to, and we don't silently ignore found issues as somebody else's problem.