title: How can we enable caching for Bundles in MVC5
body: <p>I have created 2 bundles in my mvc project as given below:</p>
  
  <pre><code> public static void RegisterBundles(BundleCollection bundles)
      {
          bundles.Add(new ScriptBundle("~/Scripts/BaseScripts").Include(
              "~/Content/js/jquery-{version}.js",
              "~/Content/js/jquery-ui-{version}.js",
              "~/Scripts/jquery.unobtrusive-ajax.min.js",
              "~/Content/js/bootstrap.js",
               "~/Content/js/bootstrap-datepicker.js",
                "~/Scripts/jquery.validate.min.js",
                "~/Scripts/jquery.validate.unobtrusive.js",
                "~/Scripts/customvalidation.js"
  
              )
          );
  
          bundles.Add(new ScriptBundle("~/Scripts/CustomScripts").Include(
                          "~/Content/js/customscripts/commonscript.js",
            "~/Content/js/customscripts/registration.js"
          ));
  
          bundles.Add(new StyleBundle("~/Styles/Css").Include(
              "~/Content/css/bootstrap.min.css",
              "~/Content/css/ymobiz.css",
              "~/Content/css/Style.css",
              "~/Content/css/datepicker3.css",
              "~/Content/font-awesome-4.1.0/css/font-awesome.min.css",
              "~/Content/css/css.css"
              ));
  
  
          //To enable bundling and minification
          BundleTable.EnableOptimizations = true;
      }
  </code></pre>
  
  <p>Now i need to enable caching for these files as well. Is there any way by which we can control caching duration for these bundles files</p>