{"id":355,"date":"2011-03-09T14:41:23","date_gmt":"2011-03-09T14:41:23","guid":{"rendered":"http:\/\/samwebman.wordpress.com\/?p=355"},"modified":"2011-03-09T14:41:23","modified_gmt":"2011-03-09T14:41:23","slug":"cache-manager-%e5%bf%ab%e5%8f%96%e7%b8%bd%e7%ae%a1","status":"publish","type":"post","link":"https:\/\/www.intentrust.com\/?p=355","title":{"rendered":"Cache Manager \u5feb\u53d6\u7e3d\u7ba1"},"content":{"rendered":"<blockquote>\n<h2>Cache Manager \u5feb\u53d6\u7e3d\u7ba1-\u7ba1\u7406 Web \u7db2\u7ad9\u5feb\u53d6\u7269\u4ef6\u7684\u597d\u5e6b\u624b<\/h2>\n<div id=\"description\">\u5927\u5bb6\u90fd\u77e5\u9053\u5728\u958b\u767c\u7db2\u9801\u7684\u6642\u5019\u56e0\u70ba Server \u7684\u6578\u91cf\u9060\u4e0d\u53ca Client \u6240\u4ee5\u7d93\u5e38\u6703\u4f7f\u7528\u5230 Cache \u6280\u5de7\uff0c\u4e0d\u7ba1\u662f OutCache \u6216\u662f RunTime Cache \u90fd\u662f\u964d\u4f4e Server \u8ca0\u8f09\u7684\u597d\u65b9\u5f0f\uff0c\u4f46\u662f\u4f60\u6709\u6c92\u6709\u60f3\u904e\u5230\u5e95 Cache \u653e\u5c0d\u6771\u897f\u4e86\u55ce\uff1f\u6216\u662f\u653e\u4e86\u592a\u591a\u4e00\u6a23\u7684\u6771\u897f\uff0c\u5982\u679c\u5feb\u53d6\u7528\u7684\u4e0d\u597d\u4e0d\u4f46\u6c92\u6709\u5e6b\u52a9\u5230\u6548\u80fd\u53cd\u800c\u53ef\u80fd\u62d6\u7d2f\u6574\u500b Server \uff0c\u56e0\u6b64 demo \u8981\u63a8\u85a6\u4e00\u500b\u65e9\u5728 2006 \u5e74\u5c31\u63a8\u51fa\u7684\u597d\u6771\u897f\uff0c\u5b83\u53ef\u4ee5\u8b93\u6211\u5011\u65b9\u4fbf\u5feb\u901f\u7684\u770b\u5230\u5feb\u53d6\u7684\u72c0\u614b\u548c\u5167\u5bb9\u9032\u800c\u8abf\u6574\u5feb\u53d6\u7684\u6578\u91cf\u8207\u503c\u3002<\/div>\n<div>\/\/ \/\/ <ins><ins><\/ins><\/ins><\/div>\n<ul>\n<li>\u6a94\u6848\u540d\u7a31\uff1aCache Manager<\/li>\n<li>\u5b98\u65b9\u7db2\u7ad9\uff1a<a rel=\"nofollow noopener\" href=\"http:\/\/aspalliance.com\/cachemanager\/default.aspx\" target=\"_blank\">http:\/\/aspalliance.com\/cachemanager\/default.aspx<\/a><\/li>\n<li>\u6a94\u6848\u7248\u672c\uff1a1.0.60115.01<\/li>\n<li>\u4ecb\u9762\u8a9e\u8a00\uff1a\u6d0b\u6587<\/li>\n<li>\u6388\u6b0a\u65b9\u5f0f\uff1a\u7db2\u9801\u7a0b\u5f0f<\/li>\n<\/ul>\n<div id=\"downloadDiv\"><a href=\"http:\/\/aspalliance.com\/cachemanager\/download\/AspAlliance.CacheManager.v1.0.60115.01.zip\" target=\"_blank\" rel=\"noopener\">\u3010\u4e3b\u8981\u4e0b\u8f09\u3011<\/a><\/div>\n<\/blockquote>\n<div id=\"content\">\n<blockquote><p><img title=\"\u25cf\" src=\"http:\/\/demo.tc\/images\/msn\/title02.gif\" alt=\"\u25cf\" \/>\u9996\u5148\u5c31\u662f\u5230\u5b98\u7db2\u4e0b\u8f09\u5f8c\u53c3\u8003\u5230\u4f60\u7684\u5c08\u6848\u5167\uff08\u8a18\u5f97\u8981\u9078\u53d6\u8907\u88fd\u5230\u672c\u6a5f\uff09<\/p>\n<p><img src=\"https:\/\/lh3.googleusercontent.com\/_PgurvCEASJs\/TXH_BA3B53I\/AAAAAAAAG8o\/Ns00uKLoMrU\/s800\/CacheManager01.png\" alt=\"\" \/><\/p>\n<hr \/>\n<p><img title=\"\u25cf\" src=\"http:\/\/demo.tc\/images\/msn\/title02.gif\" alt=\"\u25cf\" \/>\u7136\u5f8c\u958b\u555f\u5c08\u6848\u7684 Web.Config \u628a CacheManager \u8a3b\u518a\u9032\u53bb<\/p>\n<p>IIS 6 \u8a3b\u518a\u6cd5<\/p>\n<div>\n<div id=\"highlighter_222855\">\n<div><a href=\"http:\/\/demo.tc\/Post\/663#\">?<\/a><\/div>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td>\n<div>1<\/div>\n<div>2<\/div>\n<\/td>\n<td>\n<div>\n<div><code>&lt;<\/code><code>add<\/code><code>verb<\/code><code>=<\/code><code>\"*\"<\/code><code>path<\/code><code>=<\/code><code>\"CacheManager.axd\"<\/code><\/div>\n<div><code>\u00a0\u00a0\u00a0\u00a0\u00a0<\/code><code>type<\/code><code>=<\/code><code>\"AspAlliance.CacheManager.CacheManagerPageFactory,AspAlliance.CacheManager\"<\/code><code>\/&gt;<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p><img src=\"https:\/\/lh5.googleusercontent.com\/_PgurvCEASJs\/TXH_Bfoyu1I\/AAAAAAAAG8w\/YD55hplRw8c\/s800\/CacheManager05.png\" alt=\"\" \/><br \/>\n\u00a0<\/p>\n<p>IIS 7 \u8a3b\u518a\u6cd5<\/p>\n<div>\n<div id=\"highlighter_505063\">\n<div><a href=\"http:\/\/demo.tc\/Post\/663#\">?<\/a><\/div>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td>\n<div>1<\/div>\n<\/td>\n<td>\n<div>\n<div><code>&lt;<\/code><code>add<\/code><code>name<\/code><code>=<\/code><code>\"CacheManager\"<\/code><code>verb<\/code><code>=<\/code><code>\"*\"<\/code><code>path<\/code><code>=<\/code><code>\"CacheManager.axd\"<\/code><code>type<\/code><code>=<\/code><code>\"AspAlliance.CacheManager.CacheManagerPageFactory,AspAlliance.CacheManager\"<\/code><code>\/&gt;<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p><a href=\"https:\/\/lh4.googleusercontent.com\/_PgurvCEASJs\/TXH_Buzw7kI\/AAAAAAAAG80\/CHKWuGK9hik\/s800\/CacheManager06.png\"><img src=\"https:\/\/lh4.googleusercontent.com\/_PgurvCEASJs\/TXH_Buzw7kI\/AAAAAAAAG80\/CHKWuGK9hik\/s640\/CacheManager06.png\" alt=\"\" \/><\/a><\/p>\n<hr \/>\n<p><img title=\"\u25cf\" src=\"http:\/\/demo.tc\/images\/msn\/title02.gif\" alt=\"\u25cf\" \/>\u9019\u6a23\u5b50\u5c31\u53ef\u4ee5\u76f4\u63a5\u9023\u5230 http:\/\/localhost\/CacheManager.axd \u4f7f\u7528\uff0c\u9996\u9801\u5c31\u9577\u9019\u6a23<\/p>\n<p><a href=\"https:\/\/lh3.googleusercontent.com\/_PgurvCEASJs\/TXH_BAExKPI\/AAAAAAAAG8k\/ghpNOpz6H3U\/s800\/CacheManager02.png\"><img src=\"https:\/\/lh3.googleusercontent.com\/_PgurvCEASJs\/TXH_BAExKPI\/AAAAAAAAG8k\/ghpNOpz6H3U\/s640\/CacheManager02.png\" alt=\"\" \/><\/a><\/p>\n<p>\u4f60\u53ef\u4ee5\u5728\u9019\u9801\u770b\u5230\u4f3a\u670d\u5668\u9084\u5269\u4e0b\u591a\u5c11\u8a18\u61b6\u9ad4\u548c\u4f60\u5df2\u7d93\u4f7f\u7528\u4e86\u5e7e\u500b\u5feb\u53d6\u7269\u4ef6\uff08RunTime Cache\uff09<\/p>\n<hr \/>\n<p><img title=\"\u25cf\" src=\"http:\/\/demo.tc\/images\/msn\/title02.gif\" alt=\"\u25cf\" \/>\u7576\u4f60\u6309\u4e0b\u4e86\u3010Clear Application Cache\u3011\u5c31\u6703\u5c07\u4f3a\u670d\u5668\u4e0a\u6240\u6709\u7684\u5feb\u53d6\u522a\u9664\uff08RunTime Cache\uff09<\/p>\n<p><a href=\"https:\/\/lh6.googleusercontent.com\/_PgurvCEASJs\/TXH_BPq4oaI\/AAAAAAAAG8g\/An0OWFW2BY4\/s800\/CacheManager03.png\"><img src=\"https:\/\/lh6.googleusercontent.com\/_PgurvCEASJs\/TXH_BPq4oaI\/AAAAAAAAG8g\/An0OWFW2BY4\/s640\/CacheManager03.png\" alt=\"\" \/><\/a><\/p>\n<hr \/>\n<p><img title=\"\u25cf\" src=\"http:\/\/demo.tc\/images\/msn\/title02.gif\" alt=\"\u25cf\" \/>\u7576\u60a8\u6309\u4e0b\u4e86\u3010View Cache Entries\u3011\u53ef\u4ee5\u67e5\u770b\u5feb\u53d6\u7269\u4ef6\u7684\u578b\u614b\uff0c\u5982\u679c\u8a72\u7269\u4ef6\u662f\u53ef\u4ee5\u5e8f\u5217\u5316\u9084\u53ef\u4ee5\u770b\u5230\u5167\u5bb9\u503c<\/p>\n<p><a href=\"https:\/\/lh5.googleusercontent.com\/_PgurvCEASJs\/TXH_BRbipVI\/AAAAAAAAG8s\/dx_j9Q5hmWM\/s800\/CacheManager04.png\"><img src=\"https:\/\/lh5.googleusercontent.com\/_PgurvCEASJs\/TXH_BRbipVI\/AAAAAAAAG8s\/dx_j9Q5hmWM\/s640\/CacheManager04.png\" alt=\"\" \/><\/a><\/p>\n<hr \/>\n<p><img title=\"\u25cf\" src=\"http:\/\/demo.tc\/images\/msn\/title02.gif\" alt=\"\u25cf\" \/>\u6700\u5f8c\u4e00\u500b\u9078\u9805\u662f\u3010Remove Page Output Cache\u3011\u6309\u4e0b\u53bb\u5f8c\u8f38\u5165\u7db2\u5740\u5c31\u53ef\u4ee5\u6e05\u9664 Output Cache<\/p>\n<hr \/>\n<p><img title=\"\u6ce8\u610f\u4e8b\u9805\" src=\"http:\/\/demo.tc\/images\/msn\/warning.gif\" alt=\"\u6ce8\u610f\u4e8b\u9805\" \/>\u770b\u4e86\u4ee5\u4e0a\u7684\u529f\u80fd\u4f60\u4e00\u5b9a\u4e5f\u89ba\u5f97\u9019\u500b Cache Manager \u76f8\u7576\u5be6\u7528\uff0c\u4f46\u4f60\u4e5f\u53ef\u80fd\u767c\u73fe\u4e86\u4e00\u4ef6\u4e8b\u60c5\uff0c\u4efb\u4f55\u4eba\u90fd\u53ef\u4ee5\u9032\u5230\u9019\u5de5\u5177\u9801\u9762\uff0c\u9019\u662f\u76f8\u7576\u4e0d\u5b89\u5168\u7684\u96d6\u7136\u4ed6\u53ea\u80fd\u6e05\u5feb\u53d6\uff0c\u4f46\u5982\u679c\u958b\u767c\u4eba\u54e1\u4e0d\u5c0f\u5fc3\u5c07\u654f\u611f\u8cc7\u8a0a\u5b58\u653e\u5728\u5feb\u53d6\u7269\u4ef6\u4e2d\u90a3\u5c31\u554f\u984c\u5927\u4e86\uff0c\u6240\u4ee5\u6211\u5011\u5fc5\u9808\u8981\u589e\u52a0\u4e00\u4e0b\u5b83\u7684\u5b89\u5168\u6027\uff0c\u5b98\u7db2\u6709\u500b\u6700\u7c21\u55ae\u4e5f\u9084\u6eff\u6709\u6548\u7684\u89e3\u6c7a\u65b9\u6848\uff0c\u90a3\u5c31\u662f\u6539\u6a94\u540d&#8230;.\u4f60\u53ef\u4ee5\u5c07\u9810\u8a2d\u6a94\u540d\u6539\u6389\u9019\u6a23\u5225\u4eba\u5c31\u4e0d\u597d\u731c\uff0c\u731c\u4e0d\u5230\u4e5f\u5c31\u9032\u4e0d\u4f86\u4e86&#8230;..\u3002<\/p>\n<p><img title=\"\u25cf\" src=\"http:\/\/demo.tc\/images\/msn\/title02.gif\" alt=\"\u25cf\" \/>\u7576\u7136\u4f60\u53ef\u4ee5\u4f7f\u7528\u66f4\u6b63\u7d71\u66f4\u5b89\u5168\u7684\u4f5c\u6cd5\u8a2d\u5b9alocation\u5340\u584a\uff0c\u4f60\u53ef\u4ee5\u9650\u5236\u6709\u767b\u5165\u7684\u624d\u53ef\u4ee5\u770b<\/p>\n<div>\n<div id=\"highlighter_300816\">\n<div><a href=\"http:\/\/demo.tc\/Post\/663#\">?<\/a><\/div>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td>\n<div>1<\/div>\n<div>2<\/div>\n<div>3<\/div>\n<div>4<\/div>\n<div>5<\/div>\n<div>6<\/div>\n<div>7<\/div>\n<\/td>\n<td>\n<div>\n<div><code>&lt;<\/code><code>location<\/code><code>path<\/code><code>=<\/code><code>\"CacheManager.axd\"<\/code><code>&gt; <\/code><\/div>\n<div><code>\u00a0\u00a0<\/code><code>&lt;<\/code><code>system.web<\/code><code>&gt; <\/code><\/div>\n<div><code>\u00a0\u00a0\u00a0\u00a0<\/code><code>&lt;<\/code><code>authorization<\/code><code>&gt; <\/code><\/div>\n<div><code>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/code><code>&lt;<\/code><code>deny<\/code><code>users<\/code><code>=<\/code><code>\"?\"<\/code><code>\/&gt; <\/code><\/div>\n<div><code>\u00a0\u00a0\u00a0\u00a0<\/code><code>&lt;\/<\/code><code>authorization<\/code><code>&gt; <\/code><\/div>\n<div><code>\u00a0\u00a0\u00a0<\/code><code>&lt;\/<\/code><code>system.web<\/code><code>&gt; <\/code><\/div>\n<div><code>\u00a0<\/code><code>&lt;\/<\/code><code>location<\/code><code>&gt;<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<hr \/>\n<p><img title=\"\u25cf\" src=\"http:\/\/demo.tc\/images\/msn\/title02.gif\" alt=\"\u25cf\" \/>\u6216\u662f\u66f4\u9032\u968e\u4e00\u9ede\u8a2d\u5b9a\u53ea\u6709\u6700\u9ad8\u7ba1\u7406\u8005\u89d2\u8272\u7684\u4f7f\u7528\u8005\u624d\u53ef\u4ee5\u770b<\/p>\n<div>\n<div id=\"highlighter_234197\">\n<div><a href=\"http:\/\/demo.tc\/Post\/663#\">?<\/a><\/div>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td>\n<div>1<\/div>\n<div>2<\/div>\n<div>3<\/div>\n<div>4<\/div>\n<div>5<\/div>\n<div>6<\/div>\n<div>7<\/div>\n<div>8<\/div>\n<\/td>\n<td>\n<div>\n<div><code>&lt;<\/code><code>location<\/code><code>path<\/code><code>=<\/code><code>\"CacheManager.axd\"<\/code><code>&gt; <\/code><\/div>\n<div><code>\u00a0\u00a0\u00a0\u00a0<\/code><code>&lt;<\/code><code>system.web<\/code><code>&gt; <\/code><\/div>\n<div><code>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/code><code>&lt;<\/code><code>authorization<\/code><code>&gt; <\/code><\/div>\n<div><code>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/code><code>&lt;<\/code><code>allow<\/code><code>roles<\/code><code>=<\/code><code>\"Admin\"<\/code><code>\/&gt; <\/code><\/div>\n<div><code>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/code><code>&lt;<\/code><code>deny<\/code><code>users<\/code><code>=<\/code><code>\"*\"<\/code><code>\/&gt; <\/code><\/div>\n<div><code>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/code><code>&lt;\/<\/code><code>authorization<\/code><code>&gt; <\/code><\/div>\n<div><code>\u00a0\u00a0\u00a0\u00a0<\/code><code>&lt;\/<\/code><code>system.web<\/code><code>&gt; <\/code><\/div>\n<div><code>\u00a0\u00a0<\/code><code>&lt;\/<\/code><code>location<\/code><code>&gt;<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\u00a0<\/p>\n<p><img title=\"demo\u5ee2\u8a00\" src=\"http:\/\/demo.tc\/images\/msn\/demosay.gif\" alt=\"demo\u5ee2\u8a00\" \/>\u5feb\u53d6\u96d6\u7136\u597d\u7528\u4f46\u662f\u4e5f\u8981\u9069\u91cf\u4f7f\u7528\uff0c\u4e0d\u8981\u4e00\u8c37\u8166\u7684\u5168\u4e1f\u9032\u53bb\uff0c\u4e0d\u7136\u5c31\u6703\u767c\u751f\u4e0b\u9762\u9019\u7a2e\u60c5\u6cc1&#8230;<\/p>\n<p><img src=\"https:\/\/lh6.googleusercontent.com\/_PgurvCEASJs\/TXH_eCWolEI\/AAAAAAAAG88\/8BXBac_ur6Y\/s800\/CacheManager07.png\" alt=\"\" \/><\/p><\/blockquote>\n<p>Reference from:<a href=\"http:\/\/demo.tc\/Post\/663\">http:\/\/demo.tc\/Post\/663<\/a>\u00a0<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Cache Manager \u5feb\u53d6\u7e3d\u7ba1-\u7ba1\u7406 Web \u7db2\u7ad9\u5feb\u53d6\u7269\u4ef6\u7684\u597d\u5e6b\u624b \u5927\u5bb6\u90fd\u77e5\u9053\u5728\u958b\u767c\u7db2\u9801\u7684\u6642\u5019\u56e0\u70ba Se &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.intentrust.com\/?p=355\" class=\"more-link\">\u95b1\u8b80\u5168\u6587<span class=\"screen-reader-text\">\u3008Cache Manager \u5feb\u53d6\u7e3d\u7ba1\u3009<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[15],"tags":[41],"_links":{"self":[{"href":"https:\/\/www.intentrust.com\/index.php?rest_route=\/wp\/v2\/posts\/355"}],"collection":[{"href":"https:\/\/www.intentrust.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.intentrust.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.intentrust.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.intentrust.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=355"}],"version-history":[{"count":0,"href":"https:\/\/www.intentrust.com\/index.php?rest_route=\/wp\/v2\/posts\/355\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.intentrust.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=355"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.intentrust.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=355"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.intentrust.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=355"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}