How should the developer make sure that the page is always cached?

A developer identifies that some requests for the page /content/sampleproject/page.html take longer than other requests for the same page.

Refer to the $DOCROOT/content/sampleproject directory below. [user@group /opt/dispatcher/cache/content/sampleproject ]$ ks -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 .. drwxr-xr-x. 4 apache apache 4096 Feb 7 03:21 page.html -rw-r–r–. 1 apache apache 0 Feb 7 03:19 .stat The dispatcher.log file contains the following lines:

[Wed Feb 13 13:14:04 2012] [D] [1376(1572)] checking [/libs/cq/security/userinfo.json]

[Wed Feb 13 13:14:04 2012] [D] [1376(1572)] Caching disabled due to query string:

tracking_id=1350373444666

[Wed Feb 13 13:14:04 2012] [D] [1376(1572)] cache-action for [/libs/cq/security/userinfo.json]: None

How should the developer make sure that the page is always cached?
A . "Modify the dispatcher.any file to contain the following lines:
/filter
{

/0023 { /type ""allow"" /url ""/content/*/*.html?tracking_id=*"" }

}"
B . "Modify the dispatcher.any file to contain the following lines:
/rules
{

/0000 { /glob ""*"" /type ""allow"" /params ""tracking_id"" }

}"
C . "Modify the dispatcher.any file to contain the following lines:
/ignoreUrlParams
{

/0002 { /glob ""tracking_id"" /type ""allow"" }

}"

D . "Modify the dispatcher.any file to contain the following lines:
/filter
{

/0023 { /type ""allow"" /url ""/content/*/*.html"" /params ""tracking_id"" }

}"

Answer: C

Latest AD0-E116 Dumps Valid Version with 94 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments