<< Prev Question Next Question >>

Question 29/33

A developer determines that the dispatcher is NOT refreshing the cached page /content/sampleproject/sample.html after it is updated.
The dispatcher.any contains the following entries:
/cache
{
/docroot "/opt/dispatcher/cache"
/statfile "/tmp/dispatcher-website.stat"
/statfileslevel "2"
/rules
{
/0000 { /glob "*" /type "allow" }
}
/invalidate
{
/0000 { /glob "*" /type "deny" }
}
}
Refer to the $DOCROOT directory below:
[user@group /opt/dispatcher/cache]$ ls -la
total 2
drwxr-xr-x. 5 apache apache 4096 Feb 11 11:41 .
drwxr-xr-x. 3 apache apache 4096 Nov 29 16:07 ..
drw-r--r--. 4 root root 4096 Feb 7 03:21 content
-rw-r--r--. 1 apache apache 0 Feb 7 03:19 .stat
The dispatcher needs to cache the page and refresh it after it gets updated.
What action should the developer take to meet these requirements?

LEAVE A REPLY

Your email address will not be published. Required fields are marked *

Question List (33q)
Question 1: There is a config file package.myClass.config.factory-myApp....
Question 2: The custom AEM application needs to keep a flat list of all ...
Question 3: Too many pages are invalidated in the dispatcher cache when ...
Question 4: A developer is creating a custom component that shows a list...
Question 5: A custom AEM application contains Bundle A and Bundle B. Bun...
Question 6: A custom AEM application is using the PageManager API. What ...
Question 7: Which log file contains AEM application request and response...
Question 8: Which xml tag is used within the vault package definition to...
Question 9: Which log file should a developer use to search for exceptio...
Question 10: The structure section of an editable template has a locked c...
Question 11: A custom application contains a service component com.proj.S...
Question 12: For each CRX node in the hierarchy, which actions can be con...
Question 13: A developer needs to upgrade existing components (Proxy Comp...
Question 14: A developer is creating templates and/or components using CR...
Question 15: A developer needs to implement a service component that shou...
Question 16: A developer needs to install a content package on an AEM env...
Question 17: A developer needs to ensure that the path /content/&lt;proj&...
Question 18: An application runs specific license checks against certain ...
Question 19: A developer is creating a custom component on the page /late...
Question 20: A developer is working on a dialog for a contact list compon...
Question 21: A developer wants to automatically truncate request log file...
Question 22: What is not available in globel.jsp?...
Question 23: A developer has a component foobar that consists of the file...
Question 24: Refer to the following four Client Library Folders. (Exhibit...
Question 25: After adding new features, a developer's environment is expe...
Question 26: How should a developer enable remote debugging of an AEM ser...
Question 27: After a recent code deployment, an AEM site is experiencing ...
Question 28: There are performance, stability, and security issues with a...
Question 29: A developer determines that the dispatcher is NOT refreshing...
Question 30: The dependency of an AEM project fails when a developer conf...
Question 31: A custom AEM application contains a service component that n...
Question 32: A developer creates the following code snippet to implement ...
Question 33: Which maven plugin is required to install a content package ...