HomeHomeUsing DotNetNuk...Using DotNetNuk...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 8: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 8: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 10:04 AM
 

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 2: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 9: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 DotNetNuk...Using DotNetNuk...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 )


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Try An Online Demo
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

DotNetNuke Scoop!

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft .NET. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates Snowcovered.com where users purchase third party apps for the platform.