CacheDependency文件緩存依賴,我是根據(jù)xml做為他的依賴項(xiàng)!string filename = context.Server.MapPath(@"/Admin/Ad/AdDepXml.xml");CacheDependency dep = new CacheDependency(filename,...)這個(gè)第二個(gè)參數(shù)要怎么寫(xiě)呢?xml依賴項(xiàng)他檢查的時(shí)候是檢查他的更新時(shí)間還是檢查他的數(shù)據(jù)呢?我在添加數(shù)據(jù)的時(shí)候有必要把數(shù)據(jù)添加到xml文件里嗎?還是隨便添加個(gè)值,讓xml的更新時(shí)間為添加數(shù)據(jù)的時(shí)間呢?
CacheDependency文件緩存
呼啦一陣風(fēng)
2018-09-14 05:06:47