什么是二级缓存?

发布于 2024-10-09 01:15:13 字数 83 浏览 0 评论 0原文

我们必须在我们的项目中使用 Telerik ORM。当我阅读它的功能时,它夸耀了太多其二级缓存功能。谁能解释一下这是什么?

提前致谢:)

We have to use Telerik ORM for our project. As i was reading its features it boasts too much about its 2nd level cache feature. Can anybody explain me what is it?

Thanks in advance:)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

三人与歌 2024-10-16 01:15:13

它能够在 DataContext/UoW/Session 之外缓存查询结果的数据(无论 telerik 决定如何称呼它)。因此,第一个查询之后的任何查询都将返回缓存的数据。

与使用应用程序缓存或内存缓存等相同。

编辑:

Google 搜索“Telerik 二级缓存”返回:

http://www.telerik.com/help/openaccess-orm/2nd-level-cache.html

It's the ability to cache the data of the result of a query outside of the DataContext/UoW/Session (what ever telerik decided to call it). So any queries after the initial one will return cached data.

Same as using the application cache or memcache etc.

Edit:

A google for "Telerik Second Level Cache" returned:

http://www.telerik.com/help/openaccess-orm/2nd-level-cache.html

相思碎 2024-10-16 01:15:13

如果它类似于 NHibernate 的二级缓存,则意味着查询缓存。

If it's anything like NHibernate's 2nd level cache it means query caching.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文