【问题标题】:Does HttpRuntime.Cache Compress Objects in Cache?HttpRuntime.Cache 是否压缩缓存中的对象?
【发布时间】:2013-06-19 12:02:25
【问题描述】:

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

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

【问题讨论】:

    标签: c# asp.net


    【解决方案1】:

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

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-01-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-09-18
      • 1970-01-01
      • 1970-01-01
      • 2016-05-23
      相关资源
      最近更新 更多