Compress ScriptResource.axd and webresource.axd in Ajax

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
LVL 16
Kamal KhaleefaInformation Security SpecialistAsked:
Who is Participating?
 
Kamal KhaleefaConnect With a Mentor Information Security SpecialistAuthor Commented:
none of them work for me
0
 
Kalpesh ChhatralaSoftware ConsultantCommented:
0
 
tiagosalgadoCommented:
Maybe this can help you in some way

http://www.codeproject.com/KB/aspnet/AspNetOptimizer.aspx
0
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
Kamal KhaleefaInformation Security SpecialistAuthor Commented:
@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
 
Kamal KhaleefaInformation Security SpecialistAuthor Commented:
no solution worked for me
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.