0
我有一个显示职位空缺的网站。数据由第三方作为RSS提供。CacheDependency:需要绝对路径信息
我想将数据存储在我们的服务器缓存中,并具有缓存依赖关系,因此在更新提要时会刷新数据。
当缓存相关性设置为使用远程供稿文件时,插入缓存时出现错误Absolute path information is required.
。
HttpRuntime.Cache.Insert("JobFeed", jobs, new CacheDependency("http://[AddressRemoved]/rssfeed.aspx"));
有什么办法让它使用远程文件而不是本地文件?我可以使用Virutal Path Provider吗?