Fixes: U4-6402 Grid config file should be merged with package.manifests & U4-6427 Grid config file has caching problems because it's downloaded as a static file

This also fixes up the OutputCaching params on the BackOfficeController since OutputCache is bypassed when an action requires authentication, so now we manually do some caching when not in debug mode for authorized actions (of course auth happens before any cached response can occur). This also fixes up the static caching that was happening with the ManifestBuilder so now when that is not in use it gives back it's memory. This also fixes up any client side caching that was happening on BackOfficeController - before we were allowing client cache to happen for a few actions on that controller which is incorrect, we need to disable all client cache for all actions on that controller.
This commit is contained in:
Shannon
2015-03-19 13:53:15 +11:00
parent 5737cdfbe2
commit 9469b0b844
13 changed files with 533 additions and 229 deletions

View File

@@ -1,5 +1,4 @@
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc;
using System.Web.UI;
using ClientDependency.Core;
using ClientDependency.Core.CompositeFiles;
@@ -7,7 +6,7 @@ using ClientDependency.Core.CompositeFiles;
namespace Umbraco.Web.Mvc
{
/// <summary>
/// Minifies and caches the result for the JavaScriptResult
/// Minifies the result for the JavaScriptResult
/// </summary>
/// <remarks>
/// Only minifies in release mode