Expand my Community achievements bar.

SOLVED

Can sling exporter request get cached in aem?

Avatar

Level 9

I am planning to use sling exporter to expose few properties to front end application to build a presentation layer. by default all get request get cached in dispatcher. since it is exporter and json response, just want to know how aem manages cache ? Is there any best practice for caching sling exporter ? 

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

of course you can cache the .mode.json requests on the dispatcher. Just add matching caching rules there.

 

/rules
 /2323  { /glob "*model.json" /type "allow" }
  

 

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

of course you can cache the .mode.json requests on the dispatcher. Just add matching caching rules there.

 

/rules
 /2323  { /glob "*model.json" /type "allow" }