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 ...How to reduce Page Size ? can i remove script / axd file (ScriptResource/ WebResource )How to reduce Page Size ? can i remove script / axd file (ScriptResource/ WebResource )
Previous
 
Next
New Post
7/23/2008 10:14 AM
 

Hi there ,

I am working  on performance issue and wants to reduce Page size

Is it possible to  remove ScriptResource.axd  or ScriptResource.js , webresource.axd ( i think it is used for Ajax handler and generated at run time )

If it how can i do that ?

Any suggestion for Peromance Enhancement . and reduce page size ?

Thanks

Nikhil Patel

 
New Post
7/23/2008 10:59 AM
 

Hi Nikhil,

Use caution in moving forward along these lines.  In addition to being used by ASP.NET AJAX, any assembly that wishes to serve a file stored as a resource will do so through WebResource.axd.  Removing this extension risks breaking third party modules (I am not aware of any (current!) DNN core use of this handler).

ScriptResource.axd is used exclusively to serve ASP.NET AJAX javascript.  I believe it can be safely removed if all DNN AJAX functionality is turned off (and no third party modules rely on ASP.NET AJAX without checking with DNN first).  I doubt that anyone has tested such a removal, so you run some risk here.

Hope this clarifies things for you!

Brandon


Brandon Haynes
BrandonHaynes.org
 
New Post
7/23/2008 12:04 PM
 

Hey Nikhil,

As far as your ajax question, if you disable the ASP.NET Ajax functionality, those scripts will not be loaded -- pretty simple. Any third party worth using will check to see if ajax is enabled before using it...so you shouldn't have any big issues. Just navigate to the host settings and uncheck the ajax check box.

Also, make sure under host settings you use performance settings of some kind -- using compression and enabling the white space filter will make your page size smaller. All of the "out-of the box" performance settings are your friend - make sure you experiment with them! But, additionally you can use something like Snapsis PageBlaster for more control, although there is certainly some overlap in functionality.

Additionally, the biggest thing is probably the skin that you are using - try to use a lightweight skin with minimal images that takes an xhtml/css approach to design - this will make the page sizes much smaller.

Hope that helps,

Ian


Software Engineer
Co-Founder, dnnGallery
Stack Overflow: Ian Robinson
Twitter: @irobinson
Linked In: Ian Robinson
 
New Post
7/25/2008 4:31 AM
 

Hi All ,

Thanks for quick reply , i have apllied suggestion you have given and it worked fine for me.

I have disabled Ajax and Applied host settings perforamnce options.

   files  are not part of Page load now (  ScriptResource and WebResource )

Host Settigs : Advance Settings: Performance Settings

  1. Page State Persistence: page

  2. Module Caching Method: Memory

  3. Performance Setting: Heavy caching

  4.Authenticated Cacheability:

  5.Compression Setting: GZip

  6. Use Whitespace Filte (not seleced ) as this will be included in GZip - no need to overlap -suggesion i got from search

 apart from this i have done

  1. Images file Compression ( i have used Thumnailer - if you better toll please suggest me.)

  2. HTTP Compression (browery.org) ( I realy didnot find it useful , I am not able to see real size diffrence after and befor appling this )

    ( note : IIS based HTTP compression is not supported by my Hosting provider( Direct ASP)  - i might need to think of to change my hosting provide if they cant provide these facility)

  3. Pre compile site ( Tryed but not supported in DNN - it is said to it will be available in future version - hopefully 5.0)
    refer:http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/78/threadid/27731/scope/posts/threadpage/6/Default.aspx

  Work yet to do for performance

  1. Work on skin ( it bit heavy - as i am not a skin designe very littel things i can do , i have purchase this skin online. ) I will work on this to make it minimum size.

  2. remove solpart - it is to heavy for requirement of meni - may will replace with CISS menu (dnn360 - it lighter then solpart)

  3. work on View state replace with session.( do not try to add directive ( enablev13wstat3 = "false")

  4. add Buffer = "true" ( in default.aspx ) ( Any hint on this -  i am not sure this will bust performance )

  5. use page blaster   http://www.snapsis.com/PageBlaster-Community-Edition.aspx ( my site is on Hosting provider and they do not support )

    ( Is this worh to invest 79 $ for this product ( if any one have older  version with free copy please give link to me )

  Now my site is performing well , hope this will useful to guys are looking for performnace. if you any additional things i will like to here from you.

  Again thanks lot for help.

  ( Site is : cityoptics.co.uk ).

Regards

Nikhil Patel

 
New Post
10/30/2008 11:16 AM
 

Hi Nikhil

Your site is like lightening!

Did you make all the mods you mentioned above to your site?

I too have trouble with page sizes, they can be anywhere from 250kb - 600kb a time.

Peter

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...How to reduce Page Size ? can i remove script / axd file (ScriptResource/ WebResource )How to reduce Page Size ? can i remove script / axd file (ScriptResource/ WebResource )


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