I'm using AEM as wcm and lucid as a search. both are hosted on my local machine. On my local apache webserver, i want to use dispathcer and mod_cache to cache the response. dispatcher to cache AEM pages and mod_cache to cache the search response which would be in form of json. dispathcer is working fine and caching the html,js,css. To cache the search results i have configured the mod_cache. below is configuration:- i have enabled the LoadModule cache_module modules/mod_cache.so in httpd.conf
Include conf/dispatcher.conf
Include conf/mod_disk_cache.conf
and created a file mod_disk_cache.conf
where configuration is
<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>
Still i'm not able to cache the json response of search results. Can anyone help