caching - AEM Dispatcher - cache rules -
i looking understanding on part of aem dispatcher configuration. go under /cache /rules section
it looks below
/rules { # initial blanket deny /0000 { /glob "*" /type "deny" } /0100 { /glob "*.html" /type "deny" } }
does rule 100 mean dispatcher not caching html pages?
yes, rule
/0100 { /glob "*.html" /type "deny" }
means no files .html
extension cached. see documenatation more details.
i'm not sure accomplish on publish instance. situation seem apt if html pages rendered user-specific data inline static parts (as in, user data rendered in jsp/htl scripts responsible displaying whole pages). not caching html pages puts significant strain on publisher farm. if avoidance of caching dynamic data reason config, there better ways deal serving user-specific data aem, each of requires change in application , deployment architecture (ajax calls, server side includes, sling dynamic inlcudes, edge side includes, templating engines, name few).
as pointed out in other answer, can valid rule when dispatcher set in front of author environment.
Comments
Post a Comment