Maximum length of cache keys in HttpRuntime.Cache object?

后端 未结 1 371
小蘑菇
小蘑菇 2020-12-17 14:23

We are using HttpRuntime.Cache API in an ASP.NET to cache data retrieved from a database.

For this particular application, our database queries feature a LOT of para

相关标签:
1条回答
  • 2020-12-17 15:16

    Internally, Dictionary uses the hash code of the key you give it. Effectively every key is stored as an integer.

    You have nothing to worry about.

    0 讨论(0)
提交回复
热议问题