You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2023/02/17 09:18:53 UTC

[dubbo-website] branch master updated: Update result-cache.md (#2247)

This is an automated email from the ASF dual-hosted git repository.

albumenj pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 9d6b48daf4 Update result-cache.md (#2247)
9d6b48daf4 is described below

commit 9d6b48daf44c91916b648554c2990a4510612056
Author: mfordjody <mf...@gmail.com>
AuthorDate: Fri Feb 17 17:18:47 2023 +0800

    Update result-cache.md (#2247)
---
 content/zh-cn/docsv2.7/user/examples/result-cache.md | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/content/zh-cn/docsv2.7/user/examples/result-cache.md b/content/zh-cn/docsv2.7/user/examples/result-cache.md
index c440ca2177..4d2f9c2c8b 100644
--- a/content/zh-cn/docsv2.7/user/examples/result-cache.md
+++ b/content/zh-cn/docsv2.7/user/examples/result-cache.md
@@ -5,10 +5,11 @@ linkTitle: "结果缓存"
 weight: 15
 description: "通过缓存结果加速访问速度"
 ---
+## 背景
 
 结果缓存,用于加速热门数据的访问速度,Dubbo 提供声明式缓存,以减少用户加缓存的工作量。
 
-## 缓存类型
+#### 缓存类型
 
 * `lru` 基于最近最少使用原则删除多余缓存,保持最热的数据被缓存。
 * `threadlocal` 当前线程缓存,比如一个页面渲染,用到很多 portal,每个 portal 都要去查用户信息,通过线程缓存,可以减少这种多余访问。
@@ -16,7 +17,7 @@ description: "通过缓存结果加速访问速度"
 
 缓存类型可扩展,参见:[缓存扩展](../../../dev/impls/cache)
 
-## 配置
+## 示例
 
 ```xml
 <dubbo:reference interface="com.foo.BarService" cache="lru" />