Bundling and Minification

Bundling: It's a simple logical group of files that could be referenced by unique name and being loaded with one HTTP requestor. Minification: It's a process of removing unnecessary whitespace, line break and comments from code to reduce its size thereby improving load times.

Questions

Related Tags:
Asp.Net It was developed by Microsoft to allow programmers to build dynamic web sites, web applications and web services. It was first released in January 2002 with version 1.0 of the .NET Framework, and is the successor to Microsoft's Active Server Pages (ASP) technology. Learn More, C# C# (pronounced "C-sharp") is an object-oriented programming language from Microsoft that aims to combine the computing power of C++ with the programming ease of Visual Basic. C# is based on C++ and contains features similar to those of Java. Learn More, ASP.NET MVC The ASP.NET MVC framework is a lightweight, highly testable presentation framework that (as with Web Forms-based applications) is integrated with existing ASP.NET features, such as master pages and membership-based authentication. The MVC framework is defined in the System.Web.Mvc assembly. Learn More, Bundling and Minification Bundling: It's a simple logical group of files that could be referenced by unique name and being loaded with one HTTP requestor. Minification: It's a process of removing unnecessary whitespace, line break and comments from code to reduce its size thereby improving load times. Learn More, IIS (Internet Information Services) IIS Stands for "Internet Information Services." IIS is a web server software package designed for Windows Server. It is used for hosting websites and other content on the Web. Microsoft's Internet Information Services provides a graphical user interface (GUI) for managing websites and the associated users. Learn More, Cache busting Cache busting solves the browser caching issue by using a unique file version identifier to tell the browser that a new version of the file is available. Therefore the browser doesn’t retrieve the old file from cache but rather makes a request to the origin server for the new file. Learn More, IIS URL Rewrite The URL Rewrite Module is an extension software for IIS (Internet Information Services). URLs should be created so that they are easy to remember for the users and easy to find for the search engines. The URL Rewrite Module enables web administrators to develop and implement rules that assist them in this task. Learn More, web.config A configuration file (web.config) is used to manage various settings that define a website. The settings are stored in XML files that are separate from your application code. ... Generally a website contains a single Web.config file stored inside the application root directory. Learn More,

Question:how to implement Cache Busting technique of "File path versioning" or "File name versioning" for asp.net mvc site?

Description:I have studied about cache busting techniques and came to know that there are mainly three such techniques. -File name versioning (e.g. style.v2.css) -File path versioning (e.g. /v2/style.css) -Query strings (e.g. style.css?version=2) Currently I am using the query string for cache busting which is implemented by default in mvc's Bundling and Minification but the query string technique is causing performance issues, so I need to implement any of the other two technique. Need help in this regard!!!

View Details

Posted by: Umer khan | Posted on: Aug 24, 2018


Related Tags:
JQuery JQuery is a fast, small, and feature-rich JavaScript library. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers. Learn More, JavaScript Javascript is an object-oriented computer programming language commonly used to create interactive effects within web browsers. Learn More, ASP.NET MVC The ASP.NET MVC framework is a lightweight, highly testable presentation framework that (as with Web Forms-based applications) is integrated with existing ASP.NET features, such as master pages and membership-based authentication. The MVC framework is defined in the System.Web.Mvc assembly. Learn More, Bundling and Minification Bundling: It's a simple logical group of files that could be referenced by unique name and being loaded with one HTTP requestor. Minification: It's a process of removing unnecessary whitespace, line break and comments from code to reduce its size thereby improving load times. Learn More,

Question:How to asynchronously load some of my javascript files while using MVC 4 bundling and minification ?

Description:In my asp.net mvc 4 project there are some independent javascript files, i want to load them asynchronously for the site's performance aspect. So I have following two question regarding this, 1) how to load some of my bundled js files asynchronously ? 2)Does it effect my site's performance as well ?

View Details

Posted by: Khalid Abbas | Posted on: Oct 20, 2017


1