如何找出哪些呢调度缓存? [英] How to find out what does dispatcher cache?

查看:116
本文介绍了如何找出哪些呢调度缓存?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据此链接

调度是Adobe体验经理的缓存和/或负载平衡的工具。

Dispatcher is Adobe Experience Manager's caching and/or load balancing tool.

我需要知道什么呢我的调度缓存。结果
我怎样才能发现呢?

I need to know what does my dispatcher cache.
How can I found out it?

推荐答案

Adob​​e的AEM / CQ5调度员只是需要从制作成CQ5实例的请求响应主体,并将其保存作为然后在httpd可以提供文件。调度可以被配置为允许请求被任一缓存或直接发送到CQ5实例。该结构是在一个文件中 dispatcher.any 的完成。检查的文件,它都非常不错。

The Adobe AEM/CQ5 dispatcher simply takes the response body from requests made into the CQ5 instances and saves them as files that then the httpd can deliver. The dispatcher can be configured to allow requests to be either cached or sent directly to the CQ5 instance. This configuration is done in a file dispatcher.any. Check the documentation, it is good enough.

在一般你的决定是通过定义一系列的规则缓存,什么不是。 允许是指缓存和拒绝不缓存。例如:

In general you decide what is cached and what not by defining a set of rules. "allow" means to cache and "deny" not to cache. For example:

/rules
{
  /0000  { /glob "*" /type "allow" }
  /0001  { /glob "/en/news/*" /type "deny" }
  /0002  { /glob "*/private/*" /type "deny"  }   
 }

请问:


  • 将默认的缓存每个请求(规则0000)

  • 发送到实例的请求到包含/ EN /新闻/的的/私营/ *(规则0001和0002)。

  • by default cache every request (rule 0000)
  • send to the instance requests to that contain "/en/news/" and "/private/*" (rules 0001 and 0002).

该文件还描述了如何编写这些规则

The documentation also describe how to write these rules.

最后,调度员将永远不会扩展缓存请求,以查询字符串要求,非GET请求,并请求与认证头。

Finally, the dispatcher will never cache requests without extension, requests with a query string, non-GET requests and requests with an authentication header.

这篇关于如何找出哪些呢调度缓存?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆