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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...ScriptResource.axd and WebResource.axd compressionScriptResource.axd and WebResource.axd compression
Previous
 
Next
New Post
3/13/2008 2:30 PM
 

Hi,

I am trying to compress Scriptresource.axd and webresource.axd files (actually scripresource.axd size is 254kb and webresource.axd is 20kb).

At the moment I've found two ways to do that

1- Adding scriptmode="release" in compilation label
2-Adding this section

<scripting>
    <scriptResourceHandler enableCompression="true" enableCaching="true" />     
</scripting>

But both throw me an error

Anyone use one of these methods to compress the files in DNN?
Is there any way to avoid the creation of these files (I guess I am not using AJAX modules in DNN so it shouldn't be necesarry)?

Thanks in advance

Leonardo

 
New Post
3/14/2008 4:25 PM
 

We're working on this. Initially when the ajax support was added to dotnetnuke it added a reference at the beginning of the page and then removed it at the end if no loaded module required it (as it needed to be in place when the modules loaded). As this caused a load of the js files , this was changed (I think in 4.7). However, this has led to some concurrency issues so this has been reversed for 4.8.2 (see http://support.dotnetnuke.com/issue/ViewIssue.aspx?id=6862&PROJID=2 ).

Note: the overhead of the files is not as large as you think. If you're not running with debug=true in your web.config the files are only transferred one. Also, you're seeing the expanded size as compression is on by default (seehttp://msdn2.microsoft.com/en-us/library/system.web.configuration.scriptingscriptresourcehandlersection.enablecompression.aspx )

Cathal


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
3/14/2008 4:28 PM
 

cool info -- i didn't know this.


 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...ScriptResource.axd and WebResource.axd compressionScriptResource.axd and WebResource.axd compression


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