【发布时间】:2013-06-19 12:02:25
【问题描述】:
我需要存储几个大字符串和具有大字符串属性的对象 在 HttpRuntime.Cache 中
HttpRuntime.Cache 是否压缩它存储的对象?
【问题讨论】:
我需要存储几个大字符串和具有大字符串属性的对象 在 HttpRuntime.Cache 中
HttpRuntime.Cache 是否压缩它存储的对象?
【问题讨论】:
不,它没有,存储在缓存中的对象未序列化,因此无法真正压缩它们。
见What is the default serialization used by the ASP.net HttpRuntime.Cache。
【讨论】: