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?
ScriptResource.axd with MbCompression
967 Views Asked by user1016945 At
1
There are 1 best solutions below
Related Questions in JAVASCRIPT
- Angular Show All When No Filter Is Supplied
- Why does a function show up as not defined
- I count the time the user takes to solve my quiz using Javascript but I want the same time displayed on another page
- Set "More" "Less" font size
- Using pagination on a table in AngularJS
- How to sort these using Javascript or Jquery Most effectively
- how to fill out the table with next values in array with one button
- State with different subviews
- Ajax jQuery firing multiple time display event for the same result
- Getting and passing MVC Model data to AngularJS controller
- Disable variable in eval
- javascript nested loops waiting for user input
- .hover() seems to overwrite .click()
- How to sort a multi-dimensional array by the second array in descending order?
- How do I find the fonts that are not loading in a CORS situation ( MoovWeb )?
Related Questions in MINIFY
- Strip out the whitespace without errors
- Combine js files from different directories via config using grunt
- Will any JS minifiers replace common property names with strings?
- Tools to minify CDD and JS files
- How to uglify or minify C code
- GWT: Prevent Javascript minification
- Statistics on renaming via JavaScript minifier
- How to make Gulp complete one task, and only then start the next one
- Load resources via CDN or minifiy/concat and serve yourself?
- How to give an Order to the files compiled with coffeebar
- Is there a way to make Prepros NOT minify the CSS output?
- Can I get Webpack to bundle but without minification for debugging?
- Yocto - NodeJS minify assets
- Compile CSS/JS files on Save using Bundler and Minifier
- Bundle and minify using asp.net
Related Questions in SCRIPTRESOURCE.AXD
- MapRoute for passing a parameter to the root of the site causing JavaScript errors on certain script references
- WebResource.axd and ScriptResource.axd weird behaviour
- Specific Caching concerns for ScriptResource.axd Requests
- How to substitute WebResource with static file in ASP.NET 3.5
- SSRS IE8 JavaScript Error Invalid Character ScriptResource.axd
- Use local version of WebUIValidation.js in ASP.NET
- WebUIValidation.js gets reloaded in async calls when in CompositeScript and UpdatePanel
- Applying a Asp.Net filter to change the content of ScriptResource.axd
- ScriptResource.axd with MbCompression
- ScriptResource.axd (Html Extender) giving error in google chrome
- Reverse Proxy (ARR) and ScriptResource.axd Issue
- Uncuaght SyntaxError: Unexpected token '<': WebResource.axd?, ScriptResource.axd, ASP.NET Ajax client-side framework failed to load
- ajax control tool kit generates 100's of ScriptResource.axd
- VS 2103 Cannot Debug asp.net due to Corrupted ScriptResource.axd
- ASP.NET AJAX Control Toolkit File Upload throws error in Scriptresource.axd
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
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:
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:
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:
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.