You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
29 KiB
JavaScript

12 months ago
"use strict";(self.webpackChunkfurion=self.webpackChunkfurion||[]).push([[6732],{1121:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>l,contentTitle:()=>d,default:()=>h,frontMatter:()=>s,metadata:()=>t,toc:()=>a});var c=r(5893),i=r(1151);const s={id:"cache",title:"14. \u5206\u5e03\u5f0f\u7f13\u5b58",sidebar_label:"14. \u5206\u5e03\u5f0f\u7f13\u5b58"},d=void 0,t={id:"cache",title:"14. \u5206\u5e03\u5f0f\u7f13\u5b58",description:"14.1 \u4ec0\u4e48\u662f\u7f13\u5b58",source:"@site/docs/cache.mdx",sourceDirName:".",slug:"/cache",permalink:"/docs/cache",draft:!1,unlisted:!1,editUrl:"https://gitee.com/dotnetchina/Furion/tree/v4/handbook/docs/cache.mdx",tags:[],version:"current",lastUpdatedBy:"\u540c\u79d1\u540c\u5b66",lastUpdatedAt:1652861433,formattedLastUpdatedAt:"May 18, 2022",frontMatter:{id:"cache",title:"14. \u5206\u5e03\u5f0f\u7f13\u5b58",sidebar_label:"14. \u5206\u5e03\u5f0f\u7f13\u5b58"},sidebar:"docs",previous:{title:"13. \u5bf9\u8c61\u6570\u636e\u6620\u5c04 (Mapper)",permalink:"/docs/object-mapper"},next:{title:"15. \u5b89\u5168\u9274\u6743",permalink:"/docs/auth-control"}},l={},a=[{value:"14.1 \u4ec0\u4e48\u662f\u7f13\u5b58",id:"141-\u4ec0\u4e48\u662f\u7f13\u5b58",level:2},{value:"14.2 \u7f13\u5b58\u7c7b\u578b",id:"142-\u7f13\u5b58\u7c7b\u578b",level:2},{value:"14.3 \u5185\u5b58\u7f13\u5b58\u4f7f\u7528",id:"143-\u5185\u5b58\u7f13\u5b58\u4f7f\u7528",level:2},{value:"14.3.1 \u57fa\u672c\u4f7f\u7528",id:"1431-\u57fa\u672c\u4f7f\u7528",level:3},{value:"14.3.2 \u8bbe\u7f6e\u7f13\u5b58\u9009\u9879",id:"1432-\u8bbe\u7f6e\u7f13\u5b58\u9009\u9879",level:3},{value:"14.3.3 \u624b\u52a8\u8bbe\u7f6e\u7f13\u5b58\u9009\u9879",id:"1433-\u624b\u52a8\u8bbe\u7f6e\u7f13\u5b58\u9009\u9879",level:3},{value:"14.3.4 \u7f13\u5b58\u4f9d\u8d56\u5173\u7cfb",id:"1434-\u7f13\u5b58\u4f9d\u8d56\u5173\u7cfb",level:3},{value:"14.4 \u5206\u5e03\u5f0f\u7f13\u5b58",id:"144-\u5206\u5e03\u5f0f\u7f13\u5b58",level:2},{value:"14.4.1 \u4f7f\u7528\u6761\u4ef6",id:"1441-\u4f7f\u7528\u6761\u4ef6",level:3},{value:"14.4.2 <code>IDistributedCache</code>",id:"1442-idistributedcache",level:3},{value:"14.4.3 \u5206\u5e03\u5f0f\u5185\u5b58\u7f13\u5b58",id:"1443-\u5206\u5e03\u5f0f\u5185\u5b58\u7f13\u5b58",level:3},{value:"14.4.4 \u5206\u5e03\u5f0f SQL Server \u7f13\u5b58",id:"1444-\u5206\u5e03\u5f0f-sql-server-\u7f13\u5b58",level:3},{value:"14.4.5 \u5206\u5e03\u5f0f <code>Redis</code> \u7f13\u5b58",id:"1445-\u5206\u5e03\u5f0f-redis-\u7f13\u5b58",level:3},{value:"14.4.6 \u5206\u5e03\u5f0f <code>NCache</code> \u7f13\u5b58",id:"1446-\u5206\u5e03\u5f0f-ncache-\u7f13\u5b58",level:3},{value:"14.5 \u5206\u5e03\u5f0f\u7f13\u5b58\u4f7f\u7528",id:"145-\u5206\u5e03\u5f0f\u7f13\u5b58\u4f7f\u7528",level:2},{value:"14.6 \u5206\u5e03\u5f0f\u7f13\u5b58\u5efa\u8bae",id:"146-\u5206\u5e03\u5f0f\u7f13\u5b58\u5efa\u8bae",level:2},{value:"14.7 \u53cd\u9988\u4e0e\u5efa\u8bae",id:"147-\u53cd\u9988\u4e0e\u5efa\u8bae",level:2}];function o(e){const n={a:"a",admonition:"admonition",code:"code",h2:"h2",h3:"h3",hr:"hr",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,i.a)(),...e.components};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(n.h2,{id:"141-\u4ec0\u4e48\u662f\u7f13\u5b58",children:"14.1 \u4ec0\u4e48\u662f\u7f13\u5b58"}),"\n",(0,c.jsxs)(n.p,{children:["\u7f13\u5b58\u53ef\u4ee5\u51cf\u5c11\u751f\u6210\u5185\u5bb9\u6240\u9700\u7684\u5de5\u4f5c\uff0c\u4ece\u800c\u663e\u8457\u63d0\u9ad8\u5e94\u7528\u7a0b\u5e8f\u7684\u6027\u80fd\u548c\u53ef\u4f38\u7f29\u6027\u3002 ",(0,c.jsx)(n.strong,{children:"\u7f13\u5b58\u9002\u7528\u4e8e\u4e0d\u7ecf\u5e38\u66f4\u6539\u7684\u6570\u636e\uff0c\u56e0\u4e3a\u751f\u6210\u6210\u672c\u5f88\u9ad8"}),"\u3002 \u901a\u8fc7\u7f13\u5b58\uff0c\u53ef\u6bd4\u4ece\u6570\u636e\u6e90\u8fd4\u56de\u6570\u636e\u7684\u526f\u672c\u901f\u5ea6\u5feb\u5f97\u591a\u3002 \u5e94\u8be5\u5bf9\u5e94\u7528\u8fdb\u884c\u7f16\u5199\u548c\u6d4b\u8bd5\uff0c\u4f7f\u5176\u4e0d\u8981\u6c38\u8fdc\u4f9d\u8d56\u4e8e\u7f13\u5b58\u7684\u6570\u636e\u3002"]}),"\n",(0,c.jsx)(n.h2,{id:"142-\u7f13\u5b58\u7c7b\u578b",children:"14.2 \u7f13\u5b58\u7c7b\u578b"}),"\n",(0,c.jsxs)(n.ul,{children:["\n",(0,c.jsx)(n.li,{c