Solved

Compress ScriptResource.axd and webresource.axd in Ajax

Posted on 2011-03-15
8
1,089 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
Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

 
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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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 the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
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…

733 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