Do not cache custom FAQ component
Dear All,
I have one page called sunita.html and some components are there like text , title etc with my custom component FAQ.
My requirement is that whenever end user will hit the page sunita.html then my custom component FAQ will not be cached. I have used sling dynamic include and done the below steps and still this is not working.
**********************Dispatcher.any*********************
/rules
{
/0000
{
# the globbing pattern to be compared against the url
# example: * -> everything
# : /foo/bar.* -> only the /foo/bar documents
# : /foo/bar/* -> all pages below /foo/bar
# : /foo/bar[./]* -> all pages below and /foo/bar itself
# : *.html -> all .html files
/glob "*"
/type "allow"
/nocache {
/glob "*.nocache.html*"
/type "deny"
}
}
}
************** httpd.conf *********************
<VirtualHost *:80>
ServerAdmin admin@sunita.com
DocumentRoot "C:/Users/sunita_c/AEM-LOCAL-ENVIRONMENT/DISPATCHER/cache"
ServerName BGL124908.sunita.com
ServerAlias www.BGL124908.sunita.com
ErrorLog "logs/BGL124908.sunita.com-error.log"
CustomLog "logs/BGL124908.sunita.com-access.log" common
<Directory C:/Users/sunita_c/AEM-LOCAL-ENVIRONMENT/DISPATCHER/cache>
<IfModule disp_apache2.c>
SetHandler dispatcher-handler
</IfModule>
Options Indexes FollowSymLinks Includes
# To process .html files for server-side includes (SSI):
AddOutputFilter INCLUDES .shtml
AllowOverride None
</Directory>
</VirtualHost>
****************** Sling Dynamic Include **************************

Thanks in advance.