我使用AEM作为wcm和lucid作为搜索。两者都托管在我的本地机器上。 在我的本地apache webserver上,我想使用dispathcer和mod_cache来缓存响应。 调度程序缓存AEM页面和mod_cache以缓存搜索响应,该响应将采用json的形式。 dispathcer工作正常并缓存html,js,css。为了缓存搜索结果,我已经配置了mod_cache。 以下是配置: - 我在httpd.conf中启用了LoadModule cache_module modules / mod_cache.so
Include conf/dispatcher.conf
Include conf/mod_disk_cache.conf
并创建了一个文件mod_disk_cache.conf
,其中配置为
<IfModule mod_cache.c>
<IfModule mod_disk_cache.c>
CacheRoot "C:/Apache2/cachedoc"
CacheEnable disk www.local.search.com:8764
CacheDirLevels 5
CacheDirLength 3
</IfModule>
CacheDisable http://security.update.server/update-list/
</IfModule>
<VirtualHost 10.207.12.34:8764>
ServerName www.local.search.com
DocumentRoot "C:/Apache2/htdocs"
</VirtualHost>
仍然无法缓存搜索结果的json响应。任何人都可以帮忙