aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/PluginService.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-02-03 23:04:19 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-02-03 23:04:19 -0500
commit351cfef7a70ef311801be0bc9eb9e3891265d22b (patch)
treeedb841c6b311a1c13c4c70cbd4ed08e9129fac78 /MediaBrowser.Api/PluginService.cs
parent48b9f657a4d163e4be32c1641907fc429481aa85 (diff)
use conditional caching on some json responses
Diffstat (limited to 'MediaBrowser.Api/PluginService.cs')
-rw-r--r--MediaBrowser.Api/PluginService.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Api/PluginService.cs b/MediaBrowser.Api/PluginService.cs
index de9c89666..e66f432df 100644
--- a/MediaBrowser.Api/PluginService.cs
+++ b/MediaBrowser.Api/PluginService.cs
@@ -166,7 +166,7 @@ namespace MediaBrowser.Api
{
var result = _appHost.Plugins.OrderBy(p => p.Name).Select(p => p.GetPluginInfo()).ToList();
- return ToOptimizedResult(result);
+ return ToOptimizedSerializedResultUsingCache(result);
}
/// <summary>
@@ -199,7 +199,7 @@ namespace MediaBrowser.Api
LegacyKey = _securityManager.LegacyKey
};
- return ToOptimizedResult(result);
+ return ToOptimizedSerializedResultUsingCache(result);
}
/// <summary>