Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6762001
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T14:15:40+00:00 2026-05-26T14:15:40+00:00

I’m using MbCompression library and I’m want to know – does MbCompression minifies ScriptResource.axd?

  • 0

I’m using MbCompression library and I’m want to know – does MbCompression minifies ScriptResource.axd? And are there any tools that can minimify ScriptResource.axd at runtime with minimum changes to web.config?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T14:15:40+00:00Added an answer on May 26, 2026 at 2:15 pm

    I’m not familiar with MbCompression, but do take a look at RequestReduce. This is an OSS project of mine and I believe it does exactly what you want: minifies/combines css and javascript at runtime. Unlike other frameworks, RequestReduce requires no code changes, no rearrangement of scripts and css and VERY little config. All the config necessary is to add the module. Here is all you really need in your config:

    <system.web>
     <httpModules>
      <add name="RequestReduce" type="RequestReduce.Module.RequestReduceModule, RequestReduce"/>
     </httpModules>
    </system.web>
    <system.webServer>
     <modules>
      <validation validateIntegratedModeConfiguration="false"/>
      <add name="RequestReduce" type="RequestReduce.Module.RequestReduceModule, RequestReduce"/>
     </modules>
    </system.webServer>
    

    That’s it and no extra code. There are a bunch of options you have access to to turn various things on and off and configure cache syncing across multiple servers or include a CDN host in your urls. But for an out of the box solution, just the above should be necessary.

    It will look for any script url and will minify it and merge it with adjacent script tag contents as long as the following are true:

    1. The mime type of the url is a valid javascript mime type. So ScriptResources and WebResources should be caught.
    2. The url does not have a no-cache or no-store cache-control header.
    3. The url does not have a max-age or expires header less than a week.

    I have heard accounts of people complaining that webresource.axd or scriptresource.axd get sent to the browser with no-cache set. This may not be an issue for you but if you see this happening and the lack of caching is not intentional, you can add this to your web.config:

    <staticContent>
          <clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="180.00:00:00" cacheControlCustom="public" />
    </staticContent>
    

    In addition, it can automatically sprite any background images, optimize their PNG compression and it uses best practices when serving cache headers for its cached css/javascript/sprites.

    This framework is currently used at Microsoft by MSDN and Technet galleries.

    You can either install via Nuget (suggested) or download from http://www.requestreduce.com.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have a French site that I want to parse, but am running into
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
Does anyone know how can I replace this 2 symbol below from the string
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I want to count how many characters a certain string has in PHP, but
I've got a string that has curly quotes in it. I'd like to replace
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
I want use html5's new tag to play a wav file (currently only supported

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.