对于每个被缓存的元素,只需指定想要缓存的内容、可生成动态内容的任何控制器动作以及超时。
For each cached element, you need only specify the content you want to cache, any controller action that produces your dynamic content, and a timeout.
对象最终存储在内存中,但编译器、运行库、处理器或缓存可以有特权定时地在变量的指定内存位置存入或取出变量值。
Objects are ultimately stored in memory, but the compiler, runtime, processor, or cache may take some liberties with the timing of moving values to or from a variable's assigned memory location.
该变量用于指定在服务器移除用户条目之前,它们留在缓存中的时间长度。
This variable is used to specify the length of time that user entries remain in the cache before the server removes them.
如果指定的目录路径无效,则禁用服务器缓存。
If a specified directory path is invalid, the server cache is disabled.
可以提供指定了未来日期的HTTP缓存过期头,这会让浏览器对组件进行缓存,因此可以减少HTTP请求。
You can reduce HTTP requests by providing HTTP cache expiration headers with future dates that allow browsers to cache components.
您可以通过指定产品控制器对view操作使用缓存来测试这段代码。
You can test this out by specifying that the products controller uses caching for the view action.
这个区域向浏览器表明:来自指定域(这里是 search.twitter.com)的任何数据都应该从网络获取且从不缓存。
This indicates to the browser that anything coming from the domain specified (in this case search.twitter.com) should be fetched from the network and never cached.
我也可以选择在rhtml页面中指定超时和缓存方法,但我更愿意使用基于控制器的方法。
I could have also chosen to specify the timeout within the RHTML page along with the cache method, but we prefer the controller-based method.
有时候,有必要提前刷新akamai边缘服务器缓存的内容,而不是等到边缘服务器配置中指定的过期时间。
Sometimes it is necessary to refresh the content cached in Akamai edge servers without waiting for expiration that is specified in the edge server configuration.
通知可用于无效的缓存对象,或者在对象被添加、替换以及移除时指定事件处理器。
Notifications can be used to invalidate cached objects or to specify event handlers when objects are added to, replaced, or removed from the cache. Performance improvements.
NSF_Dbcache_Maxentries指定服务器每次能够在其数据库缓存中保存的数据库数量。
NSF_Dbcache_Maxentries Specifies the number of databases that a server can hold in its database cache at one time.
如果需要彻底清理整个缓存,您可以在一个指定缓存清理操作中调用函数Cache:clear,或者您也可以创建一个控制器来实现这一目的。
If you want to blow the whole cache clean, you can call the function cache: : clear either in a specific cache clearing action, or you could create a controller explicitly for that purpose.
NSF_Dbcache_Maxentries指定服务器数据库缓存一次性所能储存的数据库数量。
NSF_Dbcache_Maxentries Specifies the number of databases that a server can hold in its database cache at one time.
该变量与NSF_DBcache_MaxEntries变量结合使用,以支持LotusDomino服务器缓存指定的数据库数量。
This variable is used in conjunction with the NSF_DBcache_MaxEntries variable to allow the Lotus Domino server to cache the specified number of databases.
RouterDbCacheSize指定用于在路由器进程中缓存邮件数据库的路由器数据库缓存的大小。
RouterDbCacheSize Specifies the size of the router database cache used to cache mail databases in the router process.
RouterDbCacheSize指定路由器数据库缓存的大小,用于在路由器进程中缓存邮件数据库。
RouterDbCacheSize Specifies the size of router database cache used to cache mail databases in the router process.
对于某些控件,可以指定控件的事件是立即发送到服务器,还是先缓存然后在提交该页时引发。
For some controls, the ability to specify whether a control's event causes immediate Posting to the server or is instead cached and raised when the page is submitted.
对于某些控件,可以指定控件的事件是立即发送到服务器,还是先缓存然后在提交该页时引发。
For some controls, the ability to specify whether a control's event causes immediate Posting to the server or is instead cached and raised when the page is submitted.
应用推荐