ServiceLocator模式对封装使用JNDI的代码仍然有用,即使定位器不使用缓存。
The Service Locator pattern is still useful for encapsulating the code that uses JNDI, even if the locator does not use caching.
代理设计模式也可添加缓存和一些内容验证,因此在所有内容均加载自同一服务器时,这是一种不错的解决方案。
The proxy design pattern also has possibilities for adding caching and some content validation, making it a good solution even when all content is loaded from the same server.
如果确认解析器没有对模式定义进行高速缓存,这种请求的开销会使系统失去可扩展性。
The overhead of this request can make a system unscalable if the validating parser does not cache the schema definitions.
full模式所使用的带宽量(特别是浏览器缓存为空的情况下)对于带宽比较有限的移动设备来说,无法得到理想的使用体验。
The amount of bandwidth consumed by full mode, particularly when the browser cache is empty, makes it a less-than-ideal experience on mobile devices where the bandwidth might be constrained.
所以,Ajax应用程序中另一个常见模式是使用URL中的随机元素来保证浏览器不会返回一个缓存的结果。
So, another common pattern in Ajax applications is the use of some randomizing element in the URL to ensure that the browser doesn't return a cached result.
所以,Ajax应用程序中另一个常见模式是使用URL中的随机元素来保证浏览器不会返回一个缓存的结果。
So, another common pattern in Ajax applications is the use of some randomizing element in the URL to ensure that the browser doesn't return a cached result.
应用推荐