- Timestamp:
- 07/17/15 10:11:56 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HiveStatistics/sources/HeuristicLab.Services.WebApp/3.3/Controllers/AppController.cs
r12558 r12773 20 20 #endregion 21 21 22 using System.Web; 22 23 using System.Web.Mvc; 23 24 … … 30 31 return RedirectPermanent(Request.Url + "/"); 31 32 } 33 Response.Cache.SetCacheability(HttpCacheability.NoCache); 32 34 return View("~/WebApp/shared/layout/layout.cshtml"); 33 35 } … … 38 40 39 41 public ActionResult LoadSharedView(string directory, string view, string dateTime) { 40 // dateTime is optional to avoid browser caching 42 Response.Cache.SetCacheability(HttpCacheability.NoCache); 43 // dateTime is optional to definitly avoid browser caching 41 44 return View(string.Format("~/WebApp/shared/{0}/{1}", directory, view)); 42 45 } 43 46 44 47 public ActionResult LoadPluginView(string plugin, string view, string dateTime) { 45 // dateTime is optional to avoid browser caching 48 Response.Cache.SetCacheability(HttpCacheability.NoCache); 49 // dateTime is optional to definitly avoid browser caching 46 50 return View(string.Format("~/WebApp/plugins/{0}/{1}", plugin, view)); 47 51 }
Note: See TracChangeset
for help on using the changeset viewer.