Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/KenticoCacheDoctor.Glimpse/CacheDoctorTab.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,12 @@ public override object GetData(ITabContext context)
}
else
{
data[2] = containerValue.Data;
data[2] = new Dictionary<string, object>()
{
{ "Created", containerValue.Created },
{ "Expiration", containerValue.AbsoluteExpiration },
{ "Object", containerValue.Data}
};
}
}
else
Expand Down
2 changes: 1 addition & 1 deletion src/KenticoCacheDoctor/CacheDoctorHttpModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down