HttpRuntime.Cache压缩缓存中的对象吗?

时间:2013-06-22 12:35:36

标签: c# asp.net

我需要存储几个大字符串和具有大字符串属性的对象 在HttpRuntime.Cache

HttpRuntime.Cache是​​否会压缩它存储的对象?

1 个答案:

答案 0 :(得分:1)

不可以,存储在缓存中的对象未被序列化,因此无法真正压缩它们。

请参阅What is the default serialization used by the ASP.net HttpRuntime.Cache

相关问题