What is optimization? in ASP.NET MVC

What is optimization of JavaScript and CSS files?


In general optimization means removing any unnecessary spaces, code alignments, comments etc. (to make the file size less) from files and combining more than one similar type of files content into one big file to decrease the number of requests to get the file from the server .
Optimization can be done manually or with the help of online and offline utilities. However, in ASP.NET MVC, there are few commands and settings through which optimization can be done automatically. 

No comments:

Post a Comment

How to register multiple implementations of the same interface in Asp.Net Core?

 Problem: I have services that are derived from the same interface. public interface IService { } public class ServiceA : IService { ...