When the data changes-and only then-the cache items based on that data are invalidated and removed from the cache.
当资料变更时(只有在资料变更时),依据资料的快取项目就会失效并且从快取移除。
Uses the specified output-cache provider to remove all output-cache items that are associated with the specified path.
使用指定的输出缓存提供程序移除与指定路径关联的所有输出缓存项。
The framework makes it possible to define flexible rules about how long the data in cache is valid, where to store it, and what to do with invalid cache items.
这个框架可以灵活地定义缓存里的数据多久有效,在哪里存储它,以及如何处理无效的缓存项。
The items will then be stored in the cache for future use.
最后会将这些项目存储在缓存中,以供将来使用。
Items that have not been used recently are deleted from the cache, oldest access first.
最近未曾使用的条目会从此缓存中先删除,最旧的最先访问。
Metadata for the cached items is useful, but it is also helpful to get metadata for each cache region.
缓存项的元数据很有用,但获取各个缓存区域的元数据也很有帮助。
This example USES a fixed size cache, such as 1 MB of storage or 100 cached items.
这个示例使用了一个固定大小的高速缓存,如1MB的存储器或100个高速缓存项。
Use the Secured advanced cache type so users that belong to the same groups will access the same cached items.
使用受保护高级高速缓存类型,这样属于同一组的用户就能够访问相同的缓存条目。
It specifies the interval at which the container attempts to remove unused items from the cache in order to reduce the total number of items in the cache to the value of the cache size.
它指定容器每隔多长时间尝试将不使用的项从缓存中删除以将总项数减少到缓存大小。
Use the Personalized advanced cache type so users who share the same personalization profile will access the same cached items.
使用个性化高级高速缓存类型,这样拥有相同个性化配置文件的用户将访问相同的缓存条目。
The last of the more common cache utilities you might need are for cleaning up JCS, the cached items, and the cache region after you are finished working with them.
最后需要几个用于在使用JCS、缓存项和缓存区域后清除它们的常用缓存实用程序。
Use the session advanced cache type so every session gets its own cached items.
使用会话高级高速缓存类型,这样每一个会话将获得它们自己的缓存条目。
Use the User advanced cache type so every user gets their own cached items.
使用用户高级高速缓存类型,这样所有的用户将获得他们自己的缓存条目。
Cache entries can describe items to be cached, items which will invalidate other cache entries, and dependencies between cache entries.
高速缓存条目用来描述被缓存的项目,这些项会使其他的一些高速缓存条目无效,也可能使高速缓存条目之间互相依赖。
The first is that the Cache implements a least-recently-used algorithm, allowing ASP.NET to force a Cache purge—automatically removing unused items from the Cache—if memory is running low.
首先,缓存会实现最近最少使用的算法,使得 ASP.NET能够在内存运行效率较低的情况下强制缓存清除——从缓存自动删除未使用过的项目。
Gathering metadata for cache regions and items helps you analyze which areas and items of your Web site need to be optimized.
收集缓存区域和项的元数据能帮助您分析Web站点的哪些区域和项目需要优化。
The getItems() implementation will first check the cache to see if the items can be found there.
getItems()实现将首先检查缓存,以确定是否能在其中找到相应的项目。
To view the cached content, click cache Contents link in the left navigation, from this page, you can see there are currently two cached items and the cache it for each item (Figure 22).
要查看缓存的内容,从此页面左边导航栏单击CacheContents链接,您将看到目前有两个缓存项,为每个缓存项缓存它(图22)。
If the content is not personalized, use the Site advanced cache type, so every user can access the same cached items. If the content is personalized, use the following guidelines.
如果内容是非个性化的,那么使用站点高级高速缓存类型,这样每一用户都可以访问相同的缓存条目。
Work items build a cache for staff resolution results that is available for Business Process Choreographer authorization.
工作项为人员解析结果构建一个可用于BusinessProcess Choreographer授权的缓存。
How many items were evicted from the cache using the LRU (least recently used) algorithm?
使用LRU(最近较少使用)算法从缓存中逐出的条目有多少。
The cache will store items for a fixed time and will spin a thread to prune the items as needed, as shown in Figure 2.
高速缓存将这些对象存储一个固定时间并将旋转一个线程来在需要时清除这些项,如图2所示。
If it does not find such items within the cache, it will forward the request to the service provider which will, in turn, return a response that is routed back to the message requester.
如果未在缓存中发现这样的项,则会将请求转发到服务提供者,服务提供者将随后返回路由回消息请求者的响应。
Depending on the implementation, the cache could afford the ability to keep popular cached objects around longer than the infrequently used items.
高速缓存能够依靠实现将常常被高速缓存的对象保存,时间长于不常使用的被高速缓存的对象。
Cache doesn't really help if you only read items once.
如果您只需读取这些条目一次,那么缓存实际上帮助不大。
The item is expired — Individual items can have an expiration to allow them to be flushed from the cache when the information stored against the key is likely to be too old.
条目过期失效 —各条目均有一个有效的期限以便针对此键存储的信息在过于陈旧时可从缓存中清除这些条目。
For both types, the items stored in the global external data cache are stored by default in the [ILWWCM_HOME] \ connect \ site directory that can be changed by modifying the following.
对于这两种类型,在全局外部数据缓存中存储的条目存储在默认的[ilwwcm_home] \connect \site目录中,通过修改下列配置参数可以更改这个目录。
Flush_all - Invalidates (or expires) all the current items in the cache.
flush_all—让缓存内的所有当前条目无效(或到期失效)。
To cache the items array, the objects stored in the array need to conform to NSCoding.
要缓存条目数组,存储在数组中的对象要遵守NSCoding。
Cache appropriate data such as relatively static Web pages, specific items of output data, stored procedure parameters, and query results.
缓存适当的数据,如静态页面,输出数据的某些特定项,存储过程的参数以及查询结果等。
应用推荐