Solved

Compress ScriptResource.axd and webresource.axd in Ajax

Posted on 2011-03-15
8
1,080 Views
Last Modified: 2012-05-11
How i can compress ScriptResource.axd and webresource.axd in Ajax
to reduce the size of the scripts
im using Asp.net 3.5
currently when i use Yslow to analysis my site ,the size of scripts is 450 KB
i add this section in web config but it didnt do any thing
 <system.web.extensions>

    <scripting>
      <scriptResourceHandler  enableCaching="true" enableCompression="true" />
     
    </scripting>
  </system.web.extensions>
Thanks
0
Comment
Question by:Kamal Khaleefa
8 Comments
 
LVL 16

Expert Comment

by:Kalpesh Chhatrala
ID: 35136329
0
 
LVL 8

Expert Comment

by:tiagosalgado
ID: 35136897
Maybe this can help you in some way

http://www.codeproject.com/KB/aspnet/AspNetOptimizer.aspx
0
 
LVL 16

Author Comment

by:Kamal Khaleefa
ID: 35139470
@kalpesh2804:
your solution only work for static files
if u read my question i have implement this solution and didnt work

@tiagosalgado:
i need another solution

my server is windows server 2008 IIS 7
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 83

Expert Comment

by:CodeCruiser
ID: 35176959
0
 
LVL 16

Accepted Solution

by:
Kamal Khaleefa earned 0 total points
ID: 35481186
none of them work for me
0
 
LVL 16

Author Closing Comment

by:Kamal Khaleefa
ID: 35503497
no solution worked for me
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question