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 8714845
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T05:41:59+00:00 2026-06-13T05:41:59+00:00

In the Microsoft MVC4, I see something called bundling for minifying and caching static

  • 0

In the Microsoft MVC4, I see something called bundling for minifying and caching static resources such as CSS and JavaScript. In the ScriptBundle method I see the first parameter that called virtual path and it should be relative only.

bundles.Add(new ScriptBundle("~/bundles/jquery").Include("~/Scripts/jquery-1.*"));

For example, ~/bundles/jquery in above code.

I have one question, how bundling uses this virtual path? Is this used for something like file caching?

  • 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-06-13T05:42:01+00:00Added an answer on June 13, 2026 at 5:42 am

    Javascript and CSS Minifying/Bundling

    Now, the way the JS/CSS minifying works is that it will dynamically
    inspect all your files, read them, minify them and then cache the
    result to be served later. This allows us to modify our files and have
    all the files re-minified. When one of our JS/CSS files get modified
    again, this process will restart until either the cache expires or a
    file change.

    Also look at this post ScriptBundle and StyleBundle names and
    includes
    and link in this post for more details.

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

Sidebar

Related Questions

I'm using the ASP.NET MVC 4 bundling and minifying features in the Microsoft.AspNet.Web.Optimization namespace
I'm using latest MVC4-RC (.net 4.0) with Microsoft ASP.NET Web Optimization Framework http://nuget.org/packages/Microsoft.AspNet.Web.Optimization/1.0.0-beta3 and
Microsoft provides a method as part of WinHTTP which allows a user to determine
Microsoft J++ does not have a Double.parseDouble() method. How do I do this?
I'm trying out the MVC4 System.Web.Optimization 1.0 ScriptBundle feature . I have the following
Microsoft Ajax Library has added full object orientation to JavaScript. Is there any library,
I am working on deserializing data passed to a Microsoft Web API in MVC4
I am in the visual studio 2010 MVC4 razor microsoft template. I downloaded the
I'm writing a MVC4 Website using Microsoft Visual Studio express 2012 for web. Whenever
I'm building an MVC4 app using EF5 and ninject. Something broke when I upgraded

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.