在大多数案例中,这还将有助于加速您的应用程序,因为外部文件在第一次被访问时缓存,不需要在下一个页面上再次下载。
In the majority of cases, this will also help speed up your application, as external files are cached the first time they are accessed, and don't need to be downloaded again on the next page.
如果您的应用程序访问的数据不常更新,例如用户的配置文件,那就应该实现缓存。
If your application is accessing data that isn't updated often, such as a user's profile, you should implement caching.
大多数客户应该启用静态内容缓存,尤其对于内容包含在应用程序服务器的WAR文件中的情况更该如此。
Most customers should enable caching of static content, especially if the content will be served from within a WAR file on the application servers.
根据应用程序的需求配置这个文件是一种快速扩展缓存的简便方式。
Tailoring the file to your application's needs is a convenient way to scale your cache quickly.
而且,对于那些受益于文件系统预读功能或者较高缓冲区缓存命中率的应用程序,可能会出现性能的降低。
Further, applications that might benefit from having a file system read ahead or high buffer cache hit rates might actually see performance degradation.
缓存清单是一个文本文件,按顺序列出所有需要缓存的应用程序资源,确保特定应用程序运行,而无需连接因特网。
The cache manifest is a text file that lists all application resources that need to be cached in order for the given application to work without an Internet connection.
例如,如果一个应用程序正在读取某个文件,那么该文件数据将缓存于永久存储分页的内存中。
For example, if an application is reading a file, the file data is cached in memory in permanent storage pages.
创建过程涉及一个关键文件:您的应用程序的缓存清单。
One key file is involved: the cache manifest for your application.
在缓存清单中列出的文件存储在应用程序缓存中,类似浏览器的标准磁盘缓存但是更为健壮。
The files listed in the cache manifest get stored in the application cache, which is like the browser's standard disk cache but much more robust.
您可以在应用程序服务器的属性目录中保存一个全局cachespec . xml,或者使用部署模块放置缓存配置文件。
You can either save a global cachespec.xml in the application server's properties directory, or place the cache configuration file with the deployment module.
Chrome让你可以进入浏览器里的文件夹,缓存应用程序以及你需要脱机处理的文件。
Chrome provides you with access to "folders" from inside the browser, caching apps and documents you need for offline use.
帮助对象包括缓存管理(Cache对象)和用于发现应用程序源文件改变的内部文件系统监控器。
Helper objects include the cache manager (the cache object) and the internal file system monitor used to detect changes in the source files that form the application.
在本例中,缓存清单文件位于您的Web应用程序的根目录。
In this case, the cache manifest file is in the root directory of your Web application.
db 2 pd调用收集与锁定、事务、应用程序、语句缓存相关的信息,并将信息存储在一个文本文件中以供分析。
The db2pd call gathers information about locks, transactions, applications, and the statement cache and stores this information in a text file for analysis purposes.
如果web页面引用一个未列入清单的文件,应用程序可能不会缓存,因而就不能脱机使用。
If the web page references an unmanifested file, the application may not be cached for offline use.
清单2. to -do列表应用程序(todo .manifest)的资源缓存清单文件。
Listing 2. Resource cache manifest for the to-do list application (todo.manifest).
为了解远程缓存规则,RRD将通知动态缓存发送响应标头,它是远程应用程序的cachespec.xml文件(即缓存配置文件)的表示形式。
To understand the remote cache rules, dynacache is notified by RRD to send a response header that is a representation of the remote application’s cachespec.xml file, the caching configuration file.
如果应用程序被编译为Flash,那么生成的SWF文件和相关文件被缓存起来。
If the application is compiled as Flash, the generated SWF file and related files are cached.
由于Ajax应用程序引擎只是一个文件,因此它也是可以使用代理缓存的。
Because the Ajax application engine is just a file, it's also proxyable.
请注意,如果您的应用程序使用了数据库,并且它可以从执行自己的文件数据缓存的应用程序中获益,那么在这种情况下,您不应该将maxperm和maxclient设置为100%。
Note that in the event that your application USES databases and it could benefit from the application performing its own file data cache, you should not set maxperm and maxclient to 100%.
请注意,如果您的应用程序使用了数据库,并且它可以从执行自己的文件数据缓存的应用程序中获益,那么在这种情况下,您不应该将maxperm和maxclient设置为100%。
Note that in the event that your application USES databases, and it could benefit from the application performing its own file data cache, you should not set maxperm and maxclient to 100%.
创建一个能从GoogleAppEngine动态读取并缓存XMLplist文件的iPhone应用程序。
Creating an iPhone application that dynamically reads and caches XML plist files from Google app engine.
而很多严格的应用程序大都直接使用Ruby优秀的文件系统实用工具来显式地删除所缓存的页面。
Many serious applications directly use Ruby's excellent file system utilities to explicitly delete cached pages instead.
引用清单的HTML文件自动包含在应用程序缓存中。
The HTML file with the reference to the manifest is automatically included in the application cache. The manifest contains only the following.
计算机和应用程序配置文件没有指定适用于用于创建此请求的统一资源标识符 (URI) 的缓存策略。
The machine and application configuration files do not specify a cache policy that is applicable to the Uniform Resource Identifier (URI) used to create this request.
提供宿主应用程序可用于清除跟踪配置文件缓存的方法。
Provides a method that a host application can use to clear the tracking profile cache.
提供宿主应用程序可用于清除跟踪配置文件缓存的方法。
Provides a method that a host application can use to clear the tracking profile cache.
应用推荐