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

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -