diff --git a/src/KenticoCacheDoctor.Glimpse/CacheDoctorTab.cs b/src/KenticoCacheDoctor.Glimpse/CacheDoctorTab.cs index af08b3a..b1526cb 100644 --- a/src/KenticoCacheDoctor.Glimpse/CacheDoctorTab.cs +++ b/src/KenticoCacheDoctor.Glimpse/CacheDoctorTab.cs @@ -106,7 +106,12 @@ public override object GetData(ITabContext context) } else { - data[2] = containerValue.Data; + data[2] = new Dictionary() + { + { "Created", containerValue.Created }, + { "Expiration", containerValue.AbsoluteExpiration }, + { "Object", containerValue.Data} + }; } } else diff --git a/src/KenticoCacheDoctor/CacheDoctorHttpModule.cs b/src/KenticoCacheDoctor/CacheDoctorHttpModule.cs index c4467be..b4ed358 100644 --- a/src/KenticoCacheDoctor/CacheDoctorHttpModule.cs +++ b/src/KenticoCacheDoctor/CacheDoctorHttpModule.cs @@ -25,7 +25,7 @@ public void Init(HttpApplication context) // Run application StartUp code here var route = new Route(Constants.RouteName, new KenticoCacheDoctorRouteHandler()); //RouteTable.Routes Needs to be Added instead of inserted otherwise it applies incorrectly; - RouteTable.Routes.Add(Constants.RouteName, route); + RouteTable.Routes.Insert(0, route); var currentDomain = AppDomain.CurrentDomain;