What's the best way to minify the ASP.NET generated Javascript, such as the ones served by webresource.axd, in ASP.NET 3.5 at runtime? I tried using the MbCompression module but it's not working with those resources.
What's the best way to minify the ASP.NET generated Javascript?
5k Views Asked by craigmoliver At
2
There are 2 best solutions below
0
Quintin Robinson
On
Have you taken a look at the Ajax Minifier described in this blog post by ScottGu?
It might be just what you are looking for.
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 OPTIMIZATION
- Does compiler optimize operation on const variable and literal const number?
- Optimizing for Social Leaderboards
- 3D FFT with data larger than cache
- Optimum directory structure for large number of files to display on a page
- How to make faster queries on my mysql table?
- Xib taking long time (>1s) to load. UIFont cache seems to blame
- How to speed up string comparisons in an array with a for loop?
- How to load all symbols from shared library on start up?
- Cython speed vs numpy
- Improve Speed of Piecewise Function in MATLAB
- How to check that all values are equal in array using recursion?
- PHP split string into known tokens and remaining words add to single-worded array
- Python: why is my O(n) slowing down as it progresses?
- Hint indexes to mysql on Join
- Error When Compiler Optimizations are on
Related Questions in ASP.NET-3.5
- How to bind date in 24 hour format in ms chart
- Why are there two sets of Build and Rebuild options in my ASP.NET project?
- Can Telerik Themes be assigned to the BackColor property of elements?
- Show progress bar while downloading excel
- How to debug a HRESULT: 0x80131047 compile error
- DLL comparison to confirm If same source code is used
- Asynchronous operation exception if I want to create an instance of a class
- IIS7/8 and .asmx/<methodname> giving 404
- Unit Testing methods that delete multiple files from a specified directory using NUnit
- Assign static variable inside Class
- How to dynamically add and remove list item in asp.net web form?
- how to insert record to multiple tables with multiple file with linq2sql
- what's the difference between ASP.NET controls and Html.helpers in ASP.NET MVC?
- None of my "code behind" code is being called
- Master page issue in asp.net after publishing
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 WEBRESOURCE.AXD
- Multiple WebResources output to html when using recursive server controls
- WebResource.axd Length of the data to decrypt is invalid
- ASP.net Ajax Partial Rendering using UpdatePanel not working in WebKit browsers
- WebResource.axd error - "This is an invalid webresource request."
- WebResource.axd and ScriptResource.axd weird behaviour
- Manually added WebResource.axd - Any security implications?
- How to substitute WebResource with static file in ASP.NET 3.5
- facebookredirect.axd results 191 error
- Decrypt WebResource.axd URL generated on HTTPS instance
- Page.RouteData returning WebResource.axd?
- SharePoint 2010 - Message: Access is denied.WebResource.axd
- Most elements of an ASP.NET page are not rendered after random idle time
- WebResource.axd return Empty response
- Delay of loading of cached WebResource.axd
- WebResource.axd not loaded when using latest Google Chrome Browser
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?
If you want to minify the ASP.NET AJAX JavaScript, ensure that you've updated the compilation section of your web.config to turn off Debug mode:
This will ensure that the ScriptResource files are minified, however unless you've supplied minified versions of your JS files, these won't be touched.