Kamal Kannan
Kamal Kannan

Reputation: 91

Not to cache a particular page in cq5 dispatcher

I am creating webpages using Cq5/AEM. Is there any configuration to be made , so that a particular page should not be cached in dispatcher .

Upvotes: 1

Views: 275

Answers (1)

Sandeep Kumar
Sandeep Kumar

Reputation: 1856

As per the reference link

There are different ways with which this can be achieved. From configuration perspective, you can specify deny rule in dispatcher configuration, something like below. For understanding on globbing patterns refer globbing patterns. The reference link explains more details about different ways.

/rules
  {
   /0000  { /glob "*" /type "allow" }
   /0001  { /glob "/en/news/*" /type "deny" }
   /0002  { /glob "*/private/*" /type "deny"  }   
  }

Upvotes: 2

Related Questions