Solved

Compress ScriptResource.axd and webresource.axd in Ajax

Posted on 2011-03-15
8
1,069 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
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
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 …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

777 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