【发布时间】:2015-07-08 09:21:38
【问题描述】:
我试图按照Adobe Dispatcher Invalidation documentation 配置调度程序失效配置。根据文档
还会为页面属性中配置的任何别名或虚 URL 生成页面的缓存失效请求。
我在页面属性对话框中创建了一个虚 URL。当我发布设置了 Vanity URL 属性的页面时,我可以在 disptacher.log 中看到日志
checking [/dispatcher/invalidate.cache]
Activation detected: action=Activate [/content/geometrixx/en/products]
Touched /app/server/aem-apache/htdocs/cache/.stat
response.status = 200
response.headers[Server] = "Communique/2.6.3 (build 5221)"
response.headers[Content-Type] = "text/html"
cache flushed
"GET /dispatcher/invalidate.cache" 200 13 0ms
但是当我检查 Apache Web 服务器内配置的(在 dispatcher.any 内)docroot 缓存文件夹时。仅清除与完整页面路径对应的缓存(例如日志中的 /content/geometrixx/en/products)。但是虚 URL 访问的文件(例如 /mySite/prodct.htm)仍然存在。
我们是否需要进行更多配置以使虚 URL 的缓存失效?
【问题讨论】: