Allow Cache /app/* in Author dispatcher
Hi All,
I see that when we create AEM project from mvn archetype we have dispatcher rules created as part of the project.
I see the cache rules for author as below
# Put entries of items you do or don't want to cache in apaches doc root
# 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
/0000 {
/glob "*"
/type "deny"
}
/0001 {
/glob "/libs/*"
/type "allow"
}
/0002 {
/glob "/libs/*.html"
/type "deny"
}
# Don't cache csrf login tokens
/0003 {
/glob "/libs/granite/csrf/token.json"
/type "deny"
}
/0004 {
/glob "/apps/*"
/type "allow"
}
/0005 {
/glob "/apps/*.html"
/type "deny"
}
# This page contains a "Welcome, User XXX" message and shouldn't be cached
/0006 {
/glob "/libs/cq/core/content/welcome.*"
/type "deny"
}
my question is why do we have to cache /apps/* and /libs in author dispatcher. I read in one of the adobe doc its required for good authoring experience but it does not state anything explicitly . Can some one tell me is it required.